Description Usage Arguments Value Examples
Creates a graph based on interactions provided
1 2 3 4 | plot_interactions(fc, n = 10, min_elements = 5, ...)
## S4 method for signature 'fcoex'
plot_interactions(fc, n = 10, min_elements = 5, ...)
|
fc |
Object of class |
n |
number of nodes to label |
min_elements |
Minimum number of elements in a module for it to be plotted. Defaults to 5. |
... |
Optional parameters. |
Object of class fcoex
with profile plots
1 2 3 4 5 6 7 8 | library(SingleCellExperiment)
data("mini_pbmc3k")
targets <- colData(mini_pbmc3k)$clusters
exprs <- as.data.frame(assay(mini_pbmc3k, "logcounts"))
fc <- new_fcoex(exprs, targets)
fc <- discretize(fc)
fc <- find_cbf_modules(fc)
fc <- plot_interactions(fc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.