expand {GenomicDataCommons} | R Documentation |
expand
parameterS3 generic to set GDCQuery expand parameter
expand(x, expand) ## S3 method for class 'GDCQuery' expand(x, expand)
x |
the objects on which to set fields |
expand |
a character vector specifying the fields |
A GDCQuery
object, with the expand
member altered.
GDCQuery
: set expand 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)