Removing handleData() from greedyMix() (#25)

Apparently that function is only used if the input is Genepop or BAPS format. However, its code might be useful for reducing some of the input of greedyMix(), as it contains the calculation for them.
This commit is contained in:
Waldir Leoncio 2023-08-09 12:50:29 +02:00
parent cae1fe4c1e
commit 3069577ebd
4 changed files with 13 additions and 17 deletions

View file

@ -10,7 +10,11 @@ greedyMix(
c.rows,
partitionCompare.partitions,
ninds,
inp,
rowsFromInd,
noalle,
adjprior,
priorTerm,
alleleCodesinp,
popnames,
fixedK = FALSE,
partition_compare = FALSE,

View file

@ -7,7 +7,7 @@
handleData(raw_data)
}
\arguments{
\item{raw_data}{Raw data}
\item{raw_data}{Raw data in Genepop or BAPS format}
}
\description{
Handle Data
@ -20,5 +20,5 @@ After this function. Add blank lines for individuals with fewer rows as
maximum. If the code of an allele is = 0, the function changes that allele
code to the smallest code that is larger than any code in use. After this,
the function changes the allele codes so that one locus j
codes get values between? 1, ..., Noah (j).
codes get values between? 1, ..., noalle(j).
}