keep_cat_cols: Keep Only Columns Used for Sample Selection

Description Usage Arguments Value

View source: R/utils.R

Description

Keep Only Columns Used for Sample Selection

Usage

1
keep_cat_cols(x, keep_sam_cols = TRUE, return_idx = TRUE)

Arguments

x

a data.frame with many columns.

keep_sam_cols

if TRUE (default), keep columns with pattern 'sample', 'patient', etc.

return_idx

if TRUE (default), return index of 5 (at most) columns, it is useful in Shiny.

Value

a data.frame or a list.


UCSCXenaShiny documentation built on Nov. 29, 2021, 9:06 a.m.