The function plotMarkerGSEA plots results from markerGSEA
function
plotMarkerGSEA.Rd
The function plotMarkerGSEA plots results from markerGSEA
function
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
Examples
varMarkerFile = system.file("extdata", "cluster_variable_features.csv",
package = "BoneCellType")
varMarkers = read.csv(varMarkerFile)
enrichRes = markerGSEA(varMarkers)
if (FALSE) {
plotMarkerGSEA(enrichRes)}