TCGAquery_SampleTypes | R Documentation |
TCGAquery_SampleTypes for a given list of samples and types, return the union of samples that are from theses type.
TCGAquery_SampleTypes(barcode, typesample)
barcode |
is a list of samples as TCGA barcodes | |||||||||||||||||||||||||||||
typesample |
a character vector indicating tissue type to query. Example:
|
a list of samples / barcode filtered by type sample selected
# 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"))
barcode <- c("TARGET-20-PANSBH-14A-02D","TARGET-20-PANSBH-01A-02D",
"TCGA-B0-4698-01Z-00-DX1","TCGA-CZ-4863-02Z-00-DX1")
TCGAquery_SampleTypes(barcode,c("TR","TP"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.