Skip to contents

The function plotMarkerEnrich plots results from markerEnrich function

Usage

plotMarkerEnrich(enrichRes, topN = Inf)

Arguments

enrichRes

An output from markerEnrich function in form of a data.frame.

topN

And optional parameter specifying the number of the most significant results (based on p-value) to be plotted per cluster.

Value

A ggplot object

Examples

varMarkerFile = system.file("extdata", "cluster_variable_features.csv",
                            package = "BoneCellType")
varMarkers = read.csv(varMarkerFile)
enrichRes = markerEnrich(varMarkers)
if (FALSE) {
plotMarkerEnrich(enrichRes)}