Learn R Programming

cape (version 2.0.2)

select.by.chr: Subset a cross object to include only specified chromosomes.

Description

This function subsets a data object to include only specified chromosomes.

Usage

select.by.chr(data.obj, chr)

Arguments

data.obj
The object in which all results are stored. See read.population.
chr
A vector of desired chromosomes

Value

This function returns the data object with the genotype matrix pared down to only the desired chromosomes.

See Also

select.by.ind