varPosIndexMapR Documentation

Map each variant to its position label (index)

Description

Threshold is tricky to choose.

Usage

varPosIndexMap(var.names, pos.label, ctrl.label, thred = 10)

Arguments

var.names

character vector of variant names

pos.label

character or numeric vector of true positions

ctrl.label

vector of whether variant is control

thred

integer, threshold for number of variants per position label (index)

Value

data.frame with columns 'variant', 'pos', 'index'