View source: R/TCGAsampleSelect.R
TCGAsampleSelect | 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")
. Barcode inputs can be a
character vector or a CharacterList object.
TCGAsampleSelect(barcodes, sampleCodes)
barcodes |
Either a TCGA barcode vector or CharacterList containing patient identifiers, sample, portion, plate, and center codes. |
sampleCodes |
Either a character or numeric vector of TCGA sample codes.
See the |
A logical vector or LogicalList of the same length as 'barcodes' indicating sample type matches
example("TCGAbarcode")
TCGAsampleSelect(barcodes, c(11, 01))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.