plot_marker_dist | R Documentation |
This function draws out the marker gene distribution for a certain cell type (or cluster) on the DE gene rank list.
plot_marker_dist(markers, gene.p, colour = "red")
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. |
A ggplot2 object
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.