Description Usage Arguments Details Value Examples
View source: R/getChromosomes.R
Get chromosome assignment per marker from an mpcross
object.
1 |
mpcrossMapped |
The object containing the map of interest |
markers |
The markers for which we want the chromosomes |
Extract a character vector, with names corresponding to markers, and values corresponding to the chromosome on which the named marker is located.
A character vector, with names corresponding to markers, and values corresponding to the chromosome on which the named marker is located.
1 2 3 4 5 6 | map <- qtl::sim.map()
pedigree <- f2Pedigree(1000)
cross <- simulateMPCross(map = map, pedigree = pedigree, mapFunction = haldane, seed = 1)
mappedCross <- mpcrossMapped(cross = cross, map = map)
chromosomeAssignment <- getChromosomes(mappedCross, markers(mappedCross))
chromosomeAssignment
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.