split_sibling_indices: Split pairwise features into numeric indices

Description Usage Arguments Value Examples

View source: R/get_siblings.R

Description

Convert character vector of pairwise features (i.e. siblings) into numeric matrix of indices from the original feature matrix X

Usage

1

Arguments

siblings

a vector of sibling names made of indices concatenated by underscore (is a string)

Value

returns siblings as a numeric vector of indices rather than the character vector version of said indices

Examples

1
2
siblings <- c("1_3", "20_5", "100_110", "101_50")
sibling_indices <- split_sibling_indices(siblings)

mdkessler/kTSCR documentation built on Feb. 25, 2021, 10:31 p.m.