View source: R/shinyInterface_session.R
cTRAP | R Documentation |
Compare differential gene expression results with those from big datasets (e.g. CMap), allowing to infer which types of perturbations may explain the observed difference in gene expression.
Optimised to run in ShinyProxy with Celery/Flower backend with argument
shinyproxy = TRUE
.
cTRAP(
...,
commonPath = "data",
expire = 14,
fileSizeLimitMiB = 50,
flowerURL = NULL,
port = getOption("shiny.port"),
host = getOption("shiny.host", "127.0.0.1")
)
... |
Objects |
commonPath |
Character: path where to store data common to all sessions |
expire |
Character: days until a session expires (message purposes only) |
fileSizeLimitMiB |
Numeric: file size limit in MiB |
flowerURL |
Character: Flower REST API's URL ( |
port |
The TCP port that the application should listen on. If the
|
host |
The IPv4 address that the application should listen on. Defaults
to the |
Input: To use this package, a named vector of differentially expressed gene metric is needed, where its values represent the significance and magnitude of the differentially expressed genes (e.g. t-statistic) and its names are gene symbols.
Workflow: The differentially expressed genes will be compared against selected perturbation conditions by:
Spearman or Pearson correlation with z-scores of differentially
expressed genes after perturbations from CMap. Use function
rankSimilarPerturbations
with method = "spearman"
or
method = "pearson"
Gene set enrichment analysis (GSEA) using the (around) 12 000 genes
from CMap. Use function rankSimilarPerturbations
with
method = gsea
.
Available perturbation conditions for CMap include:
Cell line(s).
Perturbation type (gene knockdown, gene upregulation or drug intake).
Drug concentration.
Time points.
Values for each perturbation type can be listed with
getCMapPerturbationTypes()
Output: The output includes a data frame of ranked perturbations based on the associated statistical values and respective p-values.
Launches result viewer and plotter (returns NULL
)
Maintainer: Nuno Saraiva-Agostinho nunodanielagostinho@gmail.com
Authors:
Bernardo P. de Almeida
Nuno L. Barbosa-Morais [lead]
Useful links:
Report bugs at https://github.com/nuno-agostinho/cTRAP/issues
Other visual interface functions:
launchCMapDataLoader()
,
launchDiffExprLoader()
,
launchDrugSetEnrichmentAnalyser()
,
launchMetadataViewer()
,
launchResultPlotter()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.