powered by
One of main functions in UCSCXenatools. It is used to filter XenaHub object according to cohorts, datasets. All datasets can be found at https://xenabrowser.net/datapages/.
XenaHub
XenaFilter( x, filterCohorts = NULL, filterDatasets = NULL, ignore.case = TRUE, ... )
a XenaHub object
default is NULL. A character used to filter cohorts, regular expression is supported.
NULL
default is NULL. A character used to filter datasets, regular expression is supported.
if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching.
FALSE
TRUE
other arguments except value passed to base::grep().
value
base::grep()
# NOT RUN { # operate TCGA datasets xe = XenaGenerate(subset = XenaHostNames == "tcgaHub") xe # get all names of clinical data xe2 = XenaFilter(xe, filterDatasets = "clinical") datasets(xe2) # }
Run the code above in your browser using DataLab