gdcFilterSampleType {GDCRNATools} | R Documentation

## Filter out other type of samples

### Description

Filter out samples that are neither Solid Tissue Normal nor Primary Tumor

### Usage

    gdcFilterSampleType(metadata)

### Arguments

`metadata` | metadata parsed from `gdcParseMetadata`

### Value

A filtered dataframe of metadata with Solid Tissue Normal and Primary Tumor samples only

### Author(s)

Ruidong Li and Han Qu

### Examples

    ####### Parse metadata by project id and data type #######
    metaMatrix <- gdcParseMetadata(project.id='TARGET-RT', data.type='RNAseq')
    metaMatrix <- gdcFilterSampleType(metadata=metaMatrix)

[Package GDCRNATools version 1.14.0 Index]