Learn R Programming

cape (version 2.0.2)

get.marker.idx: Get the column index of markers in the genotype matrix

Description

This function returns the column index in the genotype matrix for each marker specified by the user.

Usage

get.marker.idx(data.obj, markers)

Arguments

data.obj
The object in which all results are stored. See read.population.
markers
A vector of either marker names or marker numbers for which the column indices are desired

Value

Returns a vector of numeric values specifying the index of each marker in the genotype matrix.

See Also

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