get_marker_idx: Get original indices for markers

View source: R/get_marker_idx.R

get_marker_idxR 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 Cape object

markers

A vector of marker names

Value

A vector the same length as the input markers vector indicating the index of each marker


cape documentation built on May 20, 2022, 1:06 a.m.