TCGAsampleSelect {TCGAutils} | R Documentation |
The TCGA barcode contains several pieces of information which can
be parsed by the TCGAbarcode function. To select a specific type of
sample, enter the appropriate sampleCode argument from the lookup table.
See lookup table in data("sampleTypes")
.
TCGAsampleSelect(barcodes, sampleCode)
barcodes |
Standard TCGA barcodes containing patient identifiers, sample, portion, plate, center codes. |
sampleCode |
Either a character or numeric vector of length one. See
the |
A logical vector of the same length as 'barcodes' indicating matches
example("TCGAbarcode") TCGAsampleSelect(barcodes, 11)