TCGAquery_SampleTypes

0th

Percentile

Retrieve multiple tissue types not from the same patients.

TCGAquery_SampleTypes for a given list of samples and types, return the union of samples that are from theses type.

Usage
TCGAquery_SampleTypes(barcode, typesample)
Arguments
barcode
is a list of samples as TCGA barcodes
typesample
a character vector indicating tissue type to query. Example:
TP
PRIMARY SOLID TUMOR
TR
RECURRENT SOLID TUMOR
TB
Primary Blood Derived Cancer-Peripheral Blood
TRBM
Recurrent Blood Derived Cancer-Bone Marrow
TAP
Additional-New Primary
TM
Metastatic
TAM
Additional Metastatic
THOC
Human Tumor Original Cells
TBM
Primary Blood Derived Cancer-Bone Marrow
NB
Blood Derived Normal
NT
Solid Tissue Normal
NBC
Buccal Cell Normal
NEBV
EBV Immortalized Normal
NBM
Bone Marrow Normal
Value

a list of samples / barcode filtered by type sample selected

Aliases
  • TCGAquery_SampleTypes
Examples
# selection of normal samples "NT"
barcode <- c("TCGA-B0-4698-01Z-00-DX1","TCGA-CZ-4863-02Z-00-DX1")
# Returns the second barcode
 TCGAquery_SampleTypes(barcode,"TR")
 # Returns both barcode
 TCGAquery_SampleTypes(barcode,c("TR","TP"))
Documentation reproduced from package TCGAbiolinks, version 1.2.5, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.