subset.map: Subsetting chromosomes for a genetic map

Description Usage Arguments Value Author(s) See Also Examples

Description

Pull out a specified set of chromosomes from a map object.

Usage

1
2
3
4
## S3 method for class 'map'
subset(x, ...)
## S3 method for class 'map'
x[...]

Arguments

x

A list whose components are vectors of marker locations.

...

Vector of chromosome indices.

Value

The input map object, but with only the specified subset of chromosomes.

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

subset.cross

Examples

1
2
3
4
5
data(map10)
map10 <- subset(map10, chr=1:5)

# you can also use brackets
map10 <- map10[2:3]

byandell/qtl documentation built on May 13, 2019, 9:28 a.m.