View source: R/SubsetByGeneIDs.R
SubsetByGeneIDsServer | R Documentation |
SubsetByGeneIDsServer()
implements uploading a file of gene IDs to use to
subset the data with. It also deals with resetting the gene IDs with the
reset button.
SubsetByGeneIDsServer(id, counts = NULL, gene_metadata = NULL, debug = FALSE)
id |
namespace id for the UI components. Must match the id provided to the
|
counts |
a reactive counts object. Should contain only numeric columns |
gene_metadata |
a reactive object. Contains the metadata for the genes present in the counts object. |
debug |
Turn on debugging message statements |
a shiny::reactive()
object which is a vector of gene IDs if a file has been uploaded.
If a file hasn't been uploaded or the reset button has been clicked it returns NULL
SubsetByGeneIDsServer("geneIds")
# turn on debugging
SubsetByGeneIDsServer("geneIds", debug = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.