if (FALSE) {
# No filters are applied
GlobalSearch.request()
# Global Beacon search
GlobalSearch.request(entities = '[["gene","BRCA2"]]')
# Type filter (only vaults)
GlobalSearch.request(filters = '[{"and":[["type__in",["vault"]]]}]')
# Advanced search
GlobalSearch.request(query = "fuji")
# Multiple filters and entities
GlobalSearch.request(
entities = '[["gene","BRCA2"]]',
filters = '[{
"and": [
{"and": [
["created_at__range",["2021-11-28","2021-12-28"]]]},
["type__in",["dataset"]]
]
}]'
)
}
Run the code above in your browser using DataLab