Learn R Programming

enrichplot (version 1.13.1.994)

gseaplot: gseaplot

Description

visualize analyzing result of GSEA

Usage

gseaplot(x, geneSetID, by = "all", title = "", ...)

# S4 method for gseaResult gseaplot( x, geneSetID, by = "all", title = "", color = "black", color.line = "green", color.vline = "#FA5860", ... )

gseaplot.gseaResult( x, geneSetID, by = "all", title = "", color = "black", color.line = "green", color.vline = "#FA5860", ... )

Arguments

x

object of gsea result

geneSetID

geneSet ID

by

one of "runningScore" or "position"

title

plot title

...

additional parameters

color

color of line segments

color.line

color of running enrichment score line

color.vline

color of vertical line which indicating the maximum/minimal running enrichment score

Value

ggplot2 object

ggplot2 object

Details

plotting function for gseaResult

Examples

Run this code
# NOT RUN {
library(DOSE)
data(geneList)
x <- gseDO(geneList)
gseaplot(x, geneSetID=1)
# }

Run the code above in your browser using DataLab