# NOT RUN {
# make a GDCQuery object to start
#
# Projects
#
pQuery = projects()
# check for the default fields
# so that we can use one of them to build a filter
default_fields(pQuery)
pQuery = filter(pQuery,~ project_id == 'TCGA-LUAC')
get_filter(pQuery)
#
# Files
#
fQuery = files()
default_fields(fQuery)
fQuery = filter(fQuery,~ data_format == 'VCF')
get_filter(fQuery)
fQuery = filter(fQuery,~ data_format == 'VCF'
& experimental_strategy == 'WXS'
& type == 'simple_somatic_mutation')
# Use str() to get a cleaner picture
str(get_filter(fQuery))
# }
Run the code above in your browser using DataLab