matchedMetExp {TCGAbiolinks} | R Documentation

## Get GDC samples with both DNA methylation (HM450K) and Gene expression data from GDC databse

### Description

For a given TCGA project it gets the samples (barcode) with both DNA methylation and Gene expression data from GDC database

### Usage

    matchedMetExp(project, legacy = FALSE, n = NULL)

### Arguments

`project` | A GDC project
`legacy` | Access legacy (hg19) or harmonized database (hg38).
`n` | Number of samples to return. If NULL return all (default)

### Value

A vector of barcodes

### Examples

    # Get ACC samples with both  DNA methylation (HM450K) and gene expression aligned to hg19
    samples <- matchedMetExp("TCGA-ACC", legacy = TRUE)

[Package TCGAbiolinks version 2.8.4 Index]