query | R Documentation |
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.
query(
entity,
filters = NULL,
facets = NULL,
expand = NULL,
fields = default_fields(entity),
...
)
cases(...)
files(...)
projects(...)
annotations(...)
ssms(...)
ssm_occurrences(...)
cnvs(...)
cnv_occurrences(...)
genes(...)
entity |
character vector, including one of the entities in .gdc_entities |
filters |
a filter list, typically created using |
facets |
a character vector of facets for counting common values.
See |
expand |
a character vector of "expands" to include in returned data. See
|
fields |
a character vector of fields to return. See |
... |
passed through to |
An S3 object, the GDCQuery object. This is a list with the following members.
filters
facets
fields
expand
archive
token
cases()
: convenience constructor for a GDCQuery for cases
files()
: convenience contructor for a GDCQuery for files
projects()
: convenience contructor for a GDCQuery for projects
annotations()
: convenience contructor for a GDCQuery for annotations
ssms()
: convenience contructor for a GDCQuery for ssms
ssm_occurrences()
: convenience contructor for a GDCQuery for ssm_occurrences
cnvs()
: convenience contructor for a GDCQuery for cnvs
cnv_occurrences()
: convenience contructor for a GDCQuery for cnv_occurrences
genes()
: convenience contructor for a GDCQuery for genes
qcases = query('cases')
# equivalent to:
qcases = cases()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.