Skip to contents

aggregations

Usage

aggregations(x)

# S3 method for GDCQuery
aggregations(x)

# S3 method for 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
#>    doc_count                           key
#> 1     190236    annotated_somatic_mutation
#> 2     123377                 aligned_reads
#> 3      86801          structural_variation
#> 4      86592       simple_somatic_mutation
#> 5      58883           copy_number_segment
#> 6      46153          copy_number_estimate
#> 7      43618               gene_expression
#> 8      33639   aggregated_somatic_mutation
#> 9      33234              mirna_expression
#> 10     31716      masked_methylation_array
#> 11     30075                   slide_image
#> 12     26002        biospecimen_supplement
#> 13     15858        methylation_beta_value
#> 14     15635       masked_somatic_mutation
#> 15     13135           clinical_supplement
#> 16      7906            protein_expression
#> 17        84 secondary_expression_analysis
#> 18        67              pathology_report