getResults: Get the results table from query

Description Usage Arguments Value Examples

View source: R/internal.R

Description

Get the results table from query, it can select columns with cols argument and return a number of rows using rows argument.

Usage

1
getResults(query, rows, cols)

Arguments

query

A object from GDCquery

rows

Rows identifiers (row numbers)

cols

Columns identifiers (col names)

Value

Table with query results

Examples

1
2
3
4
5
6
query <- GDCquery(project = "TCGA-GBM",
                  data.category = "Transcriptome Profiling",
                  data.type = "Gene Expression Quantification",
                  workflow.type = "HTSeq - Counts",
                  barcode = c("TCGA-14-0736-02A-01R-2005-01", "TCGA-06-0211-02A-02R-2005-01"))
results <- getResults(query)

TCGAbiolinks documentation built on Nov. 8, 2020, 5:37 p.m.