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(computePersonalAllFreqs)
export(computeRows) export(computeRows)
export(etsiParas) export(etsiParas)
export(isfield)
export(laskeMuutokset4) export(laskeMuutokset4)
export(learn_simple_partition) export(learn_simple_partition)
export(ownNum2Str) export(ownNum2Str)
@ -20,6 +21,7 @@ export(simulateAllFreqs)
export(simulateIndividuals) export(simulateIndividuals)
export(simuloiAlleeli) export(simuloiAlleeli)
export(size) export(size)
export(strcmp)
export(suoritaMuutos) export(suoritaMuutos)
export(times) export(times)
importFrom(stats,runif) importFrom(stats,runif)

View file

@ -10,9 +10,8 @@
#' @param SUMCOUNTS SUMCOUNTS #' @param SUMCOUNTS SUMCOUNTS
#' @export #' @export
poistaLiianPienet <- function (npops, rowsFromInd, alaraja, poistaLiianPienet <- function (npops, rowsFromInd, alaraja,
PARTITION = matrix(NA, 0, 0), COUNTS = matrix(NA, 0, 0), PARTITION = matrix(NA, 0, 0), COUNTS = matrix(NA, 0, 0),
SUMCOUNTS = NA) { SUMCOUNTS = NA) {
popSize <- zeros(1,npops) popSize <- zeros(1,npops)
if (npops > 0) { if (npops > 0) {
for (i in 1:npops) { for (i in 1:npops) {

View file

@ -4,14 +4,22 @@
\alias{admix1} \alias{admix1}
\title{Admixture analysis} \title{Admixture analysis}
\usage{ \usage{
admix1(tietue) admix1(
tietue,
PARTITION = matrix(NA, 0, 0),
COUNTS = matrix(NA, 0, 0),
SUMCOUNTS = NA
)
} }
\arguments{ \arguments{
\item{tietue}{record} \item{tietue}{a named record list}
} }
\description{ \description{
Admixture analysis Admixture analysis
} }
\details{ \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
} }