showLogo | R Documentation |
Shows the results motif enrichment table as an HTML including the motif logos. Note that Transfac-Pro logos cannot be shown.
showLogo(
motifEnrDT,
motifCol = c("motif", "bestMotif", "MotifID"),
dbVersion = NULL,
nSignif = 3,
colsToShow = c(motifEnrichment = c("motifDb", "logo", "NES", "geneSet", "TF_highConf"),
regulonTargets = c("TF", "gene", "nMotifs", "bestMotif", "logo", "NES",
"highConfAnnot", "Genie3Weight")),
options = list(pageLength = 50),
...
)
motifEnrDT |
Results from RcisTarget (data.table) |
motifCol |
Name of the column which contains the logo ID. |
dbVersion |
For current databases (version 10) use "v10nr_clust" |
nSignif |
Number of digits to show in numeric columns. |
colsToShow |
Columns to show in the HTML (by default, the list of the enriched genes is hidden) |
options |
List of options to pass to |
... |
Other arguments to pass to |
Returns the DT::datatable() object which can be shown as HTML.
See the package vignette for more examples:
vignette("RcisTarget")
# Run the enrichment (or load previous results)
load(paste(file.path(system.file('examples', package='RcisTarget')),
"motifEnrichmentTable_wGenes.RData", sep="/"))
# Show table as HTML
showLogo(motifEnrichmentTable_wGenes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.