Description Usage Arguments Value Author(s) Examples
This function returns the specified snippet of information obtained from the TCGA barcode.
1 2 3 4 5 6 7 8 9 |
barcodes |
A character vector of TCGA barcodes |
participant |
Logical (default TRUE) participant identifier chunk |
sample |
Logical (default FALSE) includes the numeric sample code of the barcode and the vial letter |
portion |
Logical (default FALSE) includes the portion and analyte codes of the barcode |
plate |
Logical (default FALSE) returns the plate value |
center |
Logical (default FALSE) returns a matrix with the plate and center codes |
index |
A numerical vector of TCGA barcode positions desired when split by the delimiter (i.e., hyphen '-') |
A character vector or data matrix of TCGA barcode information
M. Ramos
1 2 3 4 5 6 7 8 9 | barcodes <- c("TCGA-B0-5117-11A-01D-1421-08",
"TCGA-B0-5094-11A-01D-1421-08",
"TCGA-E9-A295-10A-01D-A16D-09")
## Patient identifiers
TCGAbarcode(barcodes)
## Sample identifiers
TCGAbarcode(barcodes, sample = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.