Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

subset.map

Subsetting chromosomes for a genetic map


Description

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

Usage

## 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, broman@wisc.edu

See Also

Examples

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

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

qtl

Tools for Analyzing QTL Experiments

v1.48-1
GPL-3
Authors
Karl W Broman <broman@wisc.edu> and Hao Wu, with ideas from Gary Churchill and Saunak Sen and contributions from Danny Arends, Robert Corty, Timothee Flutre, Ritsert Jansen, Pjotr Prins, Lars Ronnegard, Rohan Shah, Laura Shannon, Quoc Tran, Aaron Wolen, Brian Yandell, and R Core Team
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.