The basis for all functionality in this package starts with constructing a query in R. The GDCQuery object contains the filters, facets, and other parameters that define the returned results. A token is required for accessing certain datasets.
Usage
query(
entity,
filters = NULL,
facets = NULL,
expand = NULL,
fields = default_fields(entity),
...
)
cases(...)
files(...)
projects(...)
annotations(...)
ssms(...)
ssm_occurrences(...)
cnvs(...)
cnv_occurrences(...)
genes(...)Arguments
- entity
character vector, including one of the entities in .gdc_entities
- filters
a filter list, typically created using
make_filter, or added to an existingGDCQueryobject usingfilter.- facets
a character vector of facets for counting common values. See
available_fields. In general, one will not specify this parameter but will usefacetinstead.- expand
a character vector of "expands" to include in returned data. See
available_expand- fields
a character vector of fields to return. See
available_fields. In general, one will not specify fields directly, but instead useselect- ...
passed through to
query
Value
An S3 object, the GDCQuery object. This is a list with the following members.
filters
facets
fields
expand
archive
token
Functions
cases(): convenience constructor for a GDCQuery for casesfiles(): convenience contructor for a GDCQuery for filesprojects(): convenience contructor for a GDCQuery for projectsannotations(): convenience contructor for a GDCQuery for annotationsssms(): convenience contructor for a GDCQuery for ssmsssm_occurrences(): convenience contructor for a GDCQuery for ssm_occurrencescnvs(): convenience contructor for a GDCQuery for cnvscnv_occurrences(): convenience contructor for a GDCQuery for cnv_occurrencesgenes(): convenience contructor for a GDCQuery for genes