joinMap2backcross | R Documentation |
Convert unphased genotypes encoded in the JoinMap format into the backcross configuration according to the CarthaGene or R/qtl formats. Genotypes are assumed to come from a bi-parental cross with outbred parents (population type "CP" in JoinMap) and the goal is to build two parental genetic maps via a pseudo-test-cross strategy (Grattapaglia and Sederoff, 1994). This function hence encodes genotypes as two backcrosses, one per parent. All locus will be duplicated and the suffix "_m" (for "mirror") added to their identifiers.
joinMap2backcross(
x,
alias.hom = "A",
alias.het = "H",
alias.dup = "Z",
alias.miss = "-",
parent.names = c("parent1", "parent2"),
verbose = 1
)
x |
data frame in the JoinMap format, for instance from |
alias.hom |
alias to specify homozygotes ("A" for CarthaGene, 1 for R/qtl); should be different from alias.dup |
alias.het |
alias to specify heterozygotes ("H" for CarthaGene, 2 for R/qtl); should be different from alias.dup |
alias.dup |
alias used when duplicating the locus; should be different from both alias.hom and alias.het, but should be of the same mode (i.e. character or numeric) |
alias.miss |
alias to specify missing values |
parent.names |
vector containing the names of the parents |
verbose |
verbosity level (0/1/2) |
list of two matrices, one per parent
Timothee Flutre [aut], Agnes Doligez [ctb]
genoClasses2JoinMap
, openCarthagene
, setJoinMapPhasesFromParentalLinkGroups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.