View source: R/plot_marker_express_List.R
plot_marker_express_List | R Documentation |
This function plots a nested list of genes as a multi-page PDF, one for each sub list. A use case is plotting known marker genes for multiple cell types over cell type clusters with unknown identities.
plot_marker_express_List(
sce,
gene_list,
pdf_fn = "marker_expression.pdf",
cellType_col = "cellType",
gene_name_col = "Symbol",
color_pal = NULL,
plot_points = FALSE
)
sce |
SummarizedExperiment-class object |
gene_list |
A named list containing the names of genes to plot |
pdf_fn |
A |
cellType_col |
The |
gene_name_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_ALL()
marker_list <- list(Oligo = c("RNF220", "CLIC4"), Astro = c("PRDM16", "F3"))
# plot_marker_express_List(sce.test, gene_list = marker_list, pdf_fn = "./plots/test_marker_expression_List.pdf")
# plot_marker_express_List(sce.test, gene_list = marker_list, cellType_col = "cellType.Broad", pdf_fn = "./plots/test_marker_expression_List.pdf")
# plot_marker_express_List(sce.test, gene_list = marker_list, pdf_fn = "./plots/test_marker_expression_List.pdf", plot_points = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.