Skip to contents

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

# Number of each file type
res = files() |> facet(c('type','data_type')) |> aggregations()
res$type
#>    doc_count                           key
#> 1     196351    annotated_somatic_mutation
#> 2     174046                 aligned_reads
#> 3     136937          structural_variation
#> 4     127458       simple_somatic_mutation
#> 5      89858           copy_number_segment
#> 6      51028               gene_expression
#> 7      39593   aggregated_somatic_mutation
#> 8      39002          copy_number_estimate
#> 9      36556              mirna_expression
#> 10     33476                   slide_image
#> 11     33146      masked_methylation_array
#> 12     27344        biospecimen_supplement
#> 13     24236    submitted_genotyping_array
#> 14     23135     simple_germline_variation
#> 15     21589       masked_somatic_mutation
#> 16     16573        methylation_beta_value
#> 17     16273    copy_number_auxiliary_file
#> 18     14427           clinical_supplement
#> 19     11324              pathology_report
#> 20      7906            protein_expression
#> 21      1426    submitted_expression_array
#> 22       132 secondary_expression_analysis