Description Usage Arguments See Also Examples
This function takes a COMPASSResult
object, and generates
a local Shiny application for visualizing the results.
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
An object of class |
dir |
A location to write out the |
meta.vars |
A character vector of column names that should be used for potential facetting in the Shiny app. By default, we take all metadata variables; you may want to limit this if you know certain variables are not of interest. |
facet1, facet2, facet3 |
Default values for facets in the Shiny app. Each should be the name of a single vector in the metadata. |
main |
A title to give to the heatmap and subset histogram plots. |
stimulation |
The name of the stimulation applied. If this is |
launch |
Boolean; if |
... |
Optional arguments passed to |
shinyCOMPASSDeps
, for identifying packages that you
need in order to run the Shiny application.
1 2 3 4 5 6 7 | if (interactive()) {
oldOpt <- getOption("example.ask")
options(example.ask=FALSE)
on.exit( options(example.ask=oldOpt) )
shinyCOMPASS(CR)
options(example.ask=TRUE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.