plot_marker_dist: Plot marker genes distribution on DE gene rank

View source: R/plot.R

plot_marker_distR Documentation

Plot marker genes distribution on DE gene rank

Description

This function draws out the marker gene distribution for a certain cell type (or cluster) on the DE gene rank list.

Usage

plot_marker_dist(markers, gene.p, colour = "red")

Arguments

markers

Vector of marker genes from a cell type or cluster of interest.

gene.p

Named vector of gene-level pvalues from DEG analysis, i.e. DESeq2, LIMMA

colour

Users can define the bar color they want on the ggplot2 object.

Value

A ggplot2 object

Examples

data(example_gene_pvals)
data(mouse_FC_marker_genes)
Oligos_markers <- mouse_FC_marker_genes[["FC_9-5.Oligodendrocytes_5"]]
plot_marker_dist(Oligos_markers, example_gene_pvals)

marvinquiet/LRcell documentation built on Sept. 16, 2022, 9:09 a.m.