MMRFfilterBarcodesByTypes: Retrieve barcode filtered by tissue or sample type.

Description Usage Arguments Value Examples

View source: R/MMRFClinical.R

Description

MMRFfilterBarcodesByTypes returns the barcode of samples filtered on theses types.

Usage

1
MMRFfilterBarcodesByTypes(clin.bio, sampletype)

Arguments

clin.bio

is data frame with the clinical information (A valid type is Biospecimen)

sampletype

a character vector indicating sample type

tissuetype

a character vector indicating tissue type Example:

TB Primary Blood Derived Cancer-Peripheral Blood
TRBM Recurrent Blood Derived Cancer-Bone Marrow
TBM Primary Blood Derived Cancer-Bone Marrow
NB Blood Derived Normal
TRB Recurrent Blood Derived Cancer - Peripheral Blood

Value

a list of barcode filtered by sample or tissue type selected

Examples

1
2
3
4
5
6
7
clin.bio<-MMRFquery_clinic(type = "biospecimen")
 selection of Normal samples
 MMRFfilterBarcodesByTypes(clin.bio,tissuetype="Normal")
 selection of Tumor samples
 MMRFfilterBarcodesByTypes(clin.bio)
 selection of barcodes with Tumor tissue and sample type "Recurrent Blood Derived Cancer - Bone Marrow" (TRBM)
 MMRFfilterBarcodesByTypes(clin.bio,"TRBM","Tumor")

MarzyUnicz/MMRFBiolinksX documentation built on April 7, 2020, 1:05 p.m.