parse_barcodes: Parse TCGA barcodes

Description Usage Arguments Examples

Description

Extract and expand information embedded in TCGA sample barcodes. Details about the barcode format is provided here.

Usage

1
parse_barcodes(x, annotations = "none")

Arguments

x

character vector of barcodes

annotations

character string indicating whether barcodes should be only be parsed (annotations = "none"), or annotated using either "short" or "long" values

Examples

1
2
barcodes <- c('TCGA-10-7321-11A-01R-2263-07', 'TCGA-Q5-7321-01A-01D-2263-32')
parse_barcodes(barcodes, annotations = "long")

aaronwolen/tcgatools documentation built on May 10, 2019, 4:05 a.m.