getSampleTypeCode: Get Sample Type part of TCGA Barcode

Description Usage Arguments Details Value Examples

View source: R/functions.R

Description

XX - where 01 is solid tumor, 06 is metasteses, etc..

Usage

1
getSampleTypeCode(fullBarcode)

Arguments

fullBarcode

number, or vector of numbers

Details

See [Code Tables Report](https://gdc.cancer.gov/resources-tcga-users/tcga-code-tables/sample-type-codes) for a complete list of sample codes.

Value

sample code

Examples

1
2
getParticipantCode('TCGA-3C-AAAU-01A-11R-A41B-07')
getParticipantCode(c('TCGA-3C-AAAU-01A-11R-A41B-07', 'TCGA-3C-AALI-01A-11R-A41B-07'))

averissimo/brca.data documentation built on July 26, 2017, 8:04 p.m.