View source: R/plot_marker_express_ALL.R
plot_marker_express_ALL | R Documentation |
This function plots the top n marker genes for a all cell types based off of
the stats
table from get_mean_ratio2()
in a multi-page pdf.
The gene expression is plotted as violin plot with plot_gene_express
and adds
annotations to each plot.
plot_marker_express_ALL(
sce,
stats,
pdf_fn = "marker_expression.pdf",
n_genes = 10,
rank_col = "rank_ratio",
anno_col = "anno_ratio",
cellType_col = "cellType",
color_pal = NULL,
plot_points = FALSE
)
sce |
SummarizedExperiment-class object |
stats |
A |
pdf_fn |
A |
n_genes |
An |
rank_col |
The |
anno_col |
The |
cellType_col |
The |
color_pal |
A named |
plot_points |
A logical indicating whether to plot points over the violin,
defaults to |
A pdf with violin plots for the expression of top marker genes for all cell types
Other expression plotting functions:
plot_gene_express()
,
plot_marker_express()
,
plot_marker_express_List()
# plot_marker_express_ALL(sce.test, stat = marker_test, pdf_fn = "./plots/test_marker_expression_ALL.pdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.