Description Usage Arguments Details Value Examples
View source: R/reverseChromosomes.R
Create a new object, with the specified chromosomes reversed
1 | reverseChromosomes(mpcrossMapped, chromosomes)
|
mpcrossMapped |
The initial object, for which we want to reverse some of the chromosomes |
chromosomes |
The names of the chromosomes to reverse |
Create a new object, with the specified chromosomes reversed
An object of class mpcrossMapped
, with certain chromosomes reversed.
1 2 3 4 5 6 7 | map <- qtl::sim.map()
pedigree <- f2Pedigree(1000)
cross <- simulateMPCross(map = map, pedigree = pedigree, mapFunction = haldane, seed = 1)
mappedCross <- mpcrossMapped(cross = cross, map = map)
reversedX <- reverseChromosomes(mappedCross, "X")
reversedX@map[["X"]]
mappedCross@map[["X"]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.