geom_gseaLine: GSEA line for ggplot2

View source: R/geom_gseaLine.R

geom_gseaLineR Documentation

GSEA line for ggplot2

Description

Imports: ggplot2

Usage

geom_gseaLine(df, ...)

Arguments

df

data.frame, calculated by the function gseaCurve

...

Other arguments passed on to layer(). These are often aesthetics, used to set an aesthetic to a fixed value, like colour = "red" or size = 3. They may also be parameters to the paired geom/stat.

Details

uses the ggplot2::layer function, with geom="path"

Value

a ggplot layer that can be added to a ggplot object

Examples

library(gggsea)
library(ggplot)

curve <- gseaCurve(myRankedlist, mySetlist)
ggplot() + geom_gseaLine(curve) + theme_gsea()


NicolasH2/gggsea documentation built on Jan. 28, 2024, 7:25 p.m.