subset.mpprob: Subset mpprob object

Description Usage Arguments Value Note See Also

View source: R/subset.mpprob.R

Description

Reduces an mpprob object down to a specified set of chromosomes, markers and/or lines

Usage

1
2
3
  ## S3 method for class 'mpprob'
 subset(x, chr = NULL, markers = NULL,
    lines = NULL, ...)

Arguments

x

Object of class mpprob

chr

Selected chromosomes TO KEEP. Default is all

markers

Selected markers TO KEEP. Default is all

lines

Selected lines TO KEEP. Default is all

...

Additional arguments

Value

The original object with chromosomes/lines removed which are not listed in the arguments.

Note

Chromosomes can be input either as the character names of chromosomes or the index of the chromosomes in the map. Markers can be input as either character values matching the colnames of x$finals, or indices of columns in that matrix. Note that if markers are removed, the founder probabilities will be recomputed for the new map with previous settings for mpprob. Lines can be input as either character values (matching the rownames of x$finals) or indices of rows in that matrix.

See Also

mpprob


mpMap documentation built on May 29, 2017, 2:50 p.m.