ixunify2index: unify index/name indexing into global index given global name

Description Usage Arguments Value

View source: R/formatting_p.R

Description

usually people use integer index or name index. it is important to unify this. this function maps either index or name into global integer index the algorithm is that when input is integer, it is not changed; when input is string, it is matched into global name to identify the integer index

Usage

1
ixunify2index(ix, name_global)

Arguments

ix

either integer index or string vector

name_global

global name index

Value

integer indexing (global reference)


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.