Learn R Programming

GenomicDataCommons (version 1.3.4)

ids: 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 GDCManifest ids(x)

# S3 method for GDCQuery ids(x)

# S3 method for GDCResults ids(x)

# S3 method for GDCResponse ids(x)

Arguments

x

A GDCQuery or GDCResponse object

Value

a character vector of all the entity ids

Examples

Run this code
# NOT RUN {
# 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()))


# }

Run the code above in your browser using DataLab