ourMELONS/man/handleData.Rd
Waldir Leoncio 3069577ebd 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.
2023-08-09 12:50:33 +02:00

24 lines
815 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/handleData.R
\name{handleData}
\alias{handleData}
\title{Handle Data}
\usage{
handleData(raw_data)
}
\arguments{
\item{raw_data}{Raw data in Genepop or BAPS format}
}
\description{
Handle Data
}
\details{
The last column of the original data tells you from which
individual that line is from. The function first examines how many line
maximum is from one individual giving know if it is haploid, diploid, etc.
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, ..., noalle(j).
}