Skip to contents

Find common values for a GDC field

Usage

available_values(entity, field)

Arguments

entity

character(1), a GDC entity ("cases", "files", "annotations", "projects")

field

character(1), a field that is present in the entity record

Value

character vector of the top 100 (or fewer) most frequent values for a the given field

Examples

available_values('files','cases.project.project_id')[1:5]
#> [1] "FM-AD"      "TCGA-BRCA"  "CPTAC-3"    "TARGET-AML" "MP2PRT-ALL"