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

Description Usage Arguments Value Examples

View source: R/ids.R

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

1
2
3
4
5
6
# 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()))

GenomicDataCommons documentation built on Nov. 8, 2020, 11:08 p.m.