plot_gsea: plot enriched pathways A function to plot enriched pathways,...

Description Usage Arguments Value

View source: R/plot_gsea.R

Description

plot enriched pathways A function to plot enriched pathways, y axis is normalized enrichment score, x axis is sign(NES)*(-log10(FDR))

Usage

1
2
3
4
5
6
plot_gsea(
  gsea.df,
  pathway.list = NULL,
  direction = c("both", "pos", "neg"),
  n = 3
)

Arguments

gsea.df

A data frame, output from sg_gsea function

pathway.list

Pathways user provided to label, a character variable

direction

A string, "pos" or "neg" or "both" to label positive or negative or both enriched pathways

n

A number, defining how many pos or neg or both pathways to label

Value

A pdf plot with NES as y axis and sign(NES)*(-log10(FDR)) as x axis


ylab-hi/lncGSEA documentation built on Aug. 20, 2020, 9:41 a.m.