ids {GenomicDataCommons} | R Documentation

## Get the ids associated with a GDC query or response

### Description

The GDC assigns ids (in the form of uuids) to objects in its database. Those ids can be used for relationships, searching on the website, and as unique ids. All

### Usage

    ids(x)

    ## S3 method for class 'GDCManifest'
    ids(x)

    ## S3 method for class 'GDCQuery'
    ids(x)

    ## S3 method for class 'GDCResults'
    ids(x)

    ## S3 method for class 'GDCResponse'
    ids(x)

### Arguments

`x` | A `GDCQuery` or `GDCResponse` object

### Value

a character vector of all the entity ids

### Examples

    # use with a GDC query, in this case for "cases"
    ids(cases() %>% filter(~ project.project_id == "TCGA-CHOL"))
    # also works for responses
    ids(response(files()))
    # and results
    ids(results(cases()))

[Package GenomicDataCommons version 1.8.0 Index]