get_marker_idx {cape} | R Documentation |
Get original indices for markers
Description
Given a vector of marker names or numbers, this function returns the indices in the genotype matrix for each marker.
Usage
get_marker_idx(data_obj, markers)
Arguments
data_obj |
a |
markers |
A vector of marker names |
Value
A vector the same length as the input markers vector indicating the index of each marker
[Package cape version 3.1.2 Index]