subset.map | R Documentation |
Pull out a specified set of chromosomes from a
map
object.
## S3 method for class 'map'
subset(x, ...)
## S3 method for class 'map'
x[...]
x |
A list whose components are vectors of marker locations. |
... |
Vector of chromosome indices. |
The input map
object, but with only the specified subset
of chromosomes.
Karl W Broman, broman@wisc.edu
subset.cross
data(map10)
map10 <- subset(map10, chr=1:5)
# you can also use brackets
map10 <- map10[2:3]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.