Learn R Programming

cape (version 2.0.2)

get.marker.val: Get marker values

Description

This function returns genotypes for each individual at a given marker. This function is relatively time-consumig and is not recommended for high-throughput use.

Usage

get.marker.val(data.obj, geno.obj = NULL, markers)

Arguments

data.obj
The object in which all results are stored. See read.population.
geno.obj
The object in which the genotype matrix and marker information are stored. See read.geno.
markers
A vector of marker numbers or names for which names are desired.

Value

Returns a matrix listing the individual genotypes of the markers given in the input. Markers can be names either with a character string or a number.

See Also

get.marker.chr get.marker.idx get.marker.location get.marker.name get.marker.num