select {GenomicDataCommons} | R Documentation |
S3 generic to set GDCQuery fields
select(x, fields) ## S3 method for class 'GDCQuery' select(x, fields)
x |
the objects on which to set fields |
fields |
a character vector specifying the fields |
A GDCQuery
object, with the fields
member altered.
GDCQuery
: set fields on a GDCQuery object
gProj = projects() gProj$fields head(available_fields(gProj)) default_fields(gProj) gProj %>% select(default_fields(gProj)[1:2]) %>% response() %>% str(max_level=2)