View source: R/visualisation.R
plot_deconvolution | R Documentation |
Plot Deconvolution results
plot_deconvolution(
deconvolutions,
plot_method = "bar",
facet = "method",
palette = "Spectral"
)
deconvolutions |
A named list of deconvolution results |
plot_method |
Type of plot to be rendered ("bar", "jitter", "scatter", "box", "heatmap") |
facet |
Variable for grouping the plots ("method", "cell_type", "sample") |
palette |
RColorBrewer palette name (optional), standard = "Set1" |
ggplot rendered by plotly for interactivity
data("single_cell_data_1")
data("cell_type_annotations_1")
data("batch_ids_1")
data("bulk")
deconvolution <- omnideconv::deconvolute(
bulk, NULL, "bisque",
single_cell_data_1,
cell_type_annotations_1,
batch_ids_1
)
deconvolution <- list(deconvolution)
names(deconvolution) <- "bisque"
omnideconv::plot_deconvolution(deconvolution, "bar", "method", "Spectral")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.