get.marker.num:
Get marker numbers from marker names
Description
This function returns the marker number of each marker specified by name
Usage
get.marker.num(data.obj, markers)
Arguments
data.obj
The object in which all results are stored. See read.population.
markers
A vector of marker numbers or names for which names are desired. If the vector contains marker numbers, the marker numbers will be returned unchanged.
Value
Returns a numeric vector of specifying the number of each specified marker. Markers can either be named with a character string or a number in the genotype matrix. This function allows conversion between them.