Usage
RelCoef(IndividualGenom = matrix(0, nrow=0, ncol=0),
ParentalLineGenom = matrix(0, nrow=0, ncol=0),
Freq = matrix(0, nrow=0, ncol=0),
Crossing = matrix(0, nrow=0, ncol=0), ParentPop = rep(0,0),
Combination = list(), Phased = FALSE, Details = FALSE,
NbInit = 5, Prec = 10^(-4), NbCores = NULL)
Arguments
IndividualGenom
Genotype matrix of individuals. Each individual is described by 2 columns. Each row corresponds to a marker. Entries of matrix IndividualGenom should be either 0 or 1. Either IndividualGenom or ParentalLineGenom has to be provided.
ParentalLineGenom
Genotype matrix of parental lines. Each parental line is described by one column with rows corresponding to markers. Entries of ParentalLineGenome should be either 0 or 1.
Freq
Allelic frequencies for all markers and all populations (one column per population, one line per marker).
Crossing
Required when argument ParentalLineGenom is provided. A 2-column matrix where each row corresponds to a crossing between 2 parents. Parents should be numbered according to their order of appearance in the ParentalLineGenom matrix.
ParentPop
Only available if ParentalLineGenom is displayed. A vector of numbers corresponding to population membership for the parental lines.
Combination
If provided, a list of couples for which the relatedness coefficients should be computed.
Phased
A Boolean with value TRUE if observations are phased.
Details
A Boolean variable. If TRUE, the relatedness mode graph is displayed.
NbInit
Number of initial values for the EM algorithm.
Prec
Convergence precision parameter for the EM algorithm.
NbCores
Number of cores used by the algorithm (Default is the number of cores available minus one).