Fixes to documentation

This commit is contained in:
Waldir Leoncio 2020-03-03 13:51:21 +01:00
parent 4810df7fb9
commit 17282c423a
3 changed files with 15 additions and 6 deletions

View file

@ -8,6 +8,7 @@ export(computeIndLogml)
export(computePersonalAllFreqs)
export(computeRows)
export(etsiParas)
export(isfield)
export(laskeMuutokset4)
export(learn_simple_partition)
export(ownNum2Str)
@ -20,6 +21,7 @@ export(simulateAllFreqs)
export(simulateIndividuals)
export(simuloiAlleeli)
export(size)
export(strcmp)
export(suoritaMuutos)
export(times)
importFrom(stats,runif)

View file

@ -12,7 +12,6 @@
poistaLiianPienet <- function (npops, rowsFromInd, alaraja,
PARTITION = matrix(NA, 0, 0), COUNTS = matrix(NA, 0, 0),
SUMCOUNTS = NA) {
popSize <- zeros(1,npops)
if (npops > 0) {
for (i in 1:npops) {

View file

@ -4,14 +4,22 @@
\alias{admix1}
\title{Admixture analysis}
\usage{
admix1(tietue)
admix1(
tietue,
PARTITION = matrix(NA, 0, 0),
COUNTS = matrix(NA, 0, 0),
SUMCOUNTS = NA
)
}
\arguments{
\item{tietue}{record}
\item{tietue}{a named record list}
}
\description{
Admixture analysis
}
\details{
If the record == -1, the mixture results file is loaded. Otherwise, will the required variables be retrieved from the record fields?
If the record == -1, the mixture results file is loaded. Otherwise,
will the required variables be retrieved from the record fields?
`tietue`should contain the following elements: PARTITION, COUNTS, SUMCOUNTS,
alleleCodes, adjprior, popnames, rowsFromInd, data, npops, noalle
}