TCGAsampleSelect {TCGAutils}R Documentation

Select samples from barcodes from lookup table

Description

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").

Usage

TCGAsampleSelect(barcodes, sampleCode)

Arguments

barcodes

Standard TCGA barcodes containing patient identifiers, sample, portion, plate, center codes.

sampleCode

Either a character or numeric vector of length one. See the sampleType dataset.

Value

A logical vector of the same length as 'barcodes' indicating matches

Examples


example("TCGAbarcode")
TCGAsampleSelect(barcodes, 11)


[Package TCGAutils version 1.0.1 Index]