Description Usage Arguments Value Note Examples
interactive app for ssrch DocSet instances
1 | docset_searchapp(docset, se = NULL, sefilter = function(se, ...) se)
|
docset |
an instance of DocSet |
se |
(defaults to NULL) an instance of SummarizedExperiment; samples will be filtered by selection method prescribed in sefilter |
sefilter |
a function accepting (se, ...) and returning a SummarizedExperiment |
Returns list of data.frames of metadata on studies requested. Can provide a SummarizedExperiment download when 'se' is non-null, but this is not yet returned to the session.
The handling of SummarizedExperiments by this app is specialized. The 'sefilter' for the cancer example would be 'function(se, y) se[,which(se$study_accession will be called with 'y' bound to the study accession numbers selected in the app.
1 2 3 4 5 6 7 | if (interactive()) {
oask = options()$example.ask
options(example.ask=FALSE)
n1 = try(docset_searchapp(ssrch::docset_cancer68))
str(n1)
options(example.ask=oask)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.