Skip to contents

The function plotMarkerGSEA plots results from markerGSEA function

Usage

plotMarkerGSEA(enrichRes, topN = Inf, plotNES = FALSE)

Arguments

enrichRes

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

topN

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

plotNES

and optional logical variable if bar height should be NES instead of a -log10(padj), since padj can be really low

Value

A ggplot object

Examples

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