get_marker_idx: Get original indices for markers

Description Usage Arguments Value

View source: R/get_marker_idx.R

Description

Given a vector of marker names or numbers, this function returns the indices in the genotype matrix for each marker.

Usage

1
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 Feb. 10, 2021, 5:06 p.m.