getResults {TCGAbiolinks} | R Documentation

## Get the results table from query

### Description

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

### Usage

    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

    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)

[Package TCGAbiolinks version 2.20.1 Index]