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/gtex2str documentation built on Dec. 20, 2021, 4:51 p.m.