Fixed documentation for clean build

This commit is contained in:
Waldir Leoncio 2020-03-02 16:15:01 +01:00
parent 849288dfd3
commit 62598eaf0d
7 changed files with 39 additions and 3 deletions

View file

@ -3,3 +3,4 @@ TODO.md
matlab
CHANGELOG.md
CITATION.cff
.travis.yml

View file

@ -5,6 +5,9 @@
#' @param npops npops
#' @param rowsFromInd rowsFromInd
#' @param alaraja alaraja
#' @param PARTITION PARTITION
#' @param COUNTS COUNTS
#' @param SUMCOUNTS SUMCOUNTS
#' @export
poistaLiianPienet <- function (npops, rowsFromInd, alaraja,
PARTITION = matrix(NA, 0, 0), COUNTS = matrix(NA, 0, 0),

View file

@ -1,6 +1,11 @@
#' @title Simulate individuals
#' @description simulate n individuals from population pop, such that
#' proportion "missing_level" of the alleles are present.
#' @param n n
#' @param rowsFromInd rowsFromInd
#' @param allfreqs allfreqs
#' @param pop pop
#' @param missing_level missing_level
#' @export
simulateIndividuals <- function(n, rowsFromInd, allfreqs, pop, missing_level) {

View file

@ -1,6 +1,9 @@
#' @title simuloiAlleeli
#' @description Simuloi populaation pop lokukseen loc alleelin.
#' @note This function is (only?) called by `simulateIndividuals()`. Therefore, exporting it is probably unnecessary.
#' @param allfreqs allfreqa
#' @param pop pop
#' @param loc loc
#' @export
simuloiAlleeli <- function(allfreqs, pop, loc) {

View file

@ -19,6 +19,12 @@ poistaLiianPienet(
\item{rowsFromInd}{rowsFromInd}
\item{alaraja}{alaraja}
\item{PARTITION}{PARTITION}
\item{COUNTS}{COUNTS}
\item{SUMCOUNTS}{SUMCOUNTS}
}
\description{
Muokkaa tulokset muotoon, jossa outlier yksilöt on poistettu.

View file

@ -6,6 +6,17 @@
\usage{
simulateIndividuals(n, rowsFromInd, allfreqs, pop, missing_level)
}
\arguments{
\item{n}{n}
\item{rowsFromInd}{rowsFromInd}
\item{allfreqs}{allfreqs}
\item{pop}{pop}
\item{missing_level}{missing_level}
}
\description{
simulate n individuals from population pop, such that
proportion "missing_level" of the alleles are present.

View file

@ -6,6 +6,13 @@
\usage{
simuloiAlleeli(allfreqs, pop, loc)
}
\arguments{
\item{allfreqs}{allfreqa}
\item{pop}{pop}
\item{loc}{loc}
}
\description{
Simuloi populaation pop lokukseen loc alleelin.
}