aggregations: aggregations

View source: R/response.R

aggregationsR Documentation

aggregations

Description

aggregations

Usage

aggregations(x)

## S3 method for class 'GDCQuery'
aggregations(x)

## S3 method for class 'GDCResponse'
aggregations(x)

Arguments

x

a GDCQuery object

Value

a list of data.frame with one member for each requested facet. The data frames each have two columns, key and doc_count.

Methods (by class)

  • aggregations(GDCQuery):

  • aggregations(GDCResponse):

Examples

library(magrittr)
# Number of each file type
res = files() %>% facet(c('type','data_type')) %>% aggregations()
res$type


Bioconductor/GenomicDataCommons documentation built on May 2, 2024, 4:21 p.m.