reverseChromosomes: Reverse the order of the specified chromosomes

Description Usage Arguments Details Value Examples

View source: R/reverseChromosomes.R

Description

Create a new object, with the specified chromosomes reversed

Usage

1

Arguments

mpcrossMapped

The initial object, for which we want to reverse some of the chromosomes

chromosomes

The names of the chromosomes to reverse

Details

Create a new object, with the specified chromosomes reversed

Value

An object of class mpcrossMapped, with certain chromosomes reversed.

Examples

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"]]

rohan-shah/mpMap2 documentation built on July 21, 2020, 8:58 p.m.