crossPanel | R Documentation |
These are the UI and server components of the cross plot panel of the
shiny app. It is generated by including 'Cross' in the panels.default argument
of generateShinyApp
.
crossPanelUI(id, metadata, show = TRUE) crossPanelServer(id, expression.matrix, metadata, anno)
id |
the input slot that will be used to access the value |
metadata |
a data frame containing metadata for the samples contained
in the expression.matrix; must contain at minimum two columns:
the first column must contain the column names of the expression.matrix,
while the last column is assumed to contain the experimental conditions
that will be tested for differential expression; a list (of the same
length as modality) can be provided if #' |
show |
whether to show the panel or not; default is TRUE; there for compatibility with specifying panels to show |
expression.matrix |
the expression matrix; rows correspond to genes and
columns correspond to samples; usually preprocessed by
|
anno |
annotation data frame containing a match between the row names
of the expression.matrix (usually ENSEMBL IDs) and the gene names that
should be rendered within the app and in output files; this object is
created by |
The UI and Server components of the shiny module, that can be used within the UI and Server definitions of a shiny app.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.