TCGAquery_MatchedCoupledSampleTypes: Retrieve multiple tissue types from the same patients.

Description Usage Arguments Value Examples

View source: R/clinical.R

Description

TCGAquery_MatchedCoupledSampleTypes

Usage

1

Arguments

barcode

barcode

typesample

typesample

Value

a list of samples / barcode filtered by type sample selected

Examples

1
2
3
4
5
6
7
8
9
 TCGAquery_MatchedCoupledSampleTypes(c("TCGA-B0-4698-01Z-00-DX1",
                             "TCGA-B0-4698-02Z-00-DX1"),
                             c("TP","TR"))
 barcode <- c("TARGET-20-PANSBH-02A-02D","TARGET-20-PANSBH-01A-02D",
              "TCGA-B0-4698-01Z-00-DX1","TCGA-CZ-4863-02Z-00-DX1",
              "TARGET-20-PANSZZ-02A-02D","TARGET-20-PANSZZ-11A-02D",
              "TCGA-B0-4699-01Z-00-DX1","TCGA-B0-4699-02Z-00-DX1"
              )
  TCGAquery_MatchedCoupledSampleTypes(barcode,c("TR","TP"))

daniel615212950/TCGAbiolinks documentation built on Dec. 19, 2021, 8:06 p.m.