linkdf_shortcut | R Documentation |
Shortcut to calculate the linkage data.frame using polymapR's approach to autopolyploid linkage calculation. Random pairing is assumed, it only considers one linkage group at a time and returns linkage both from parent1 to parent2 and viceversa. Importantly, markers for which parental genotype does not match offspring segregation are eliminated.
linkdf_shortcut(geno, ploidy, p1name, p2name, ncores = 1)
geno |
numeric data.frame or matrix, with marker names as rownames and individual names as column names. |
ploidy |
numeric, ploidy of both parents. |
p1name |
character, name of the first parent. |
p2name |
characther, name of the second parent. |
ncores |
numeric, number of threads to use in the linakge calculation. |
a linkage dataframe. Some estimates might be duplicated, since they are calculated for both parents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.