docset_searchapp {ssrch} | R Documentation

## interactive app for ssrch DocSet instances

### Description

interactive app for ssrch DocSet instances

### Usage

    docset_searchapp(docset, se = NULL, sefilter = function(se, ...) se)

### Arguments

`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

### Value

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.

### Note

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.

### Examples

    if (interactive()) {
      oask = options()$example.ask
      options(example.ask=FALSE)
      n1 = try(docset_searchapp(ssrch::docset_cancer68))
      str(n1)
      options(example.ask=oask)
    }

[Package ssrch version 1.4.0 Index]