shorten_TCGA_id: used to conveniently cut TCGA sample IDs

Description Usage Arguments Value

View source: R/shorten_TCGA_id.R

Description

used to conveniently cut TCGA sample IDs

Usage

1
shorten_TCGA_id(id_list, left_number)

Arguments

id_list

individual list, e.g. TCGA-AAAA-BBBB

left_number

how many parts (separated by '-' to keep, should not be longer than its original length )

Value

a shortened list


huanglu2018/tSTR documentation built on Feb. 25, 2022, 5:39 a.m.