aggregations {GenomicDataCommons} | R Documentation |
aggregations
aggregations(x) ## S3 method for class 'GDCQuery' aggregations(x) ## S3 method for class 'GDCResponse' aggregations(x)
x |
a |
a list
of data.frame
with one
member for each requested facet. The data frames
each have two columns, key and doc_count.
GDCQuery
:
GDCResponse
:
library(magrittr) # Number of each file type res = files() %>% facet(c('type','data_type')) %>% aggregations() res$type