plotNES: Function "plotNES"

Description Usage Arguments Value

View source: R/plotNES.R

Description

This function plots a comparison pathway barplot for selected cohorts and chosen gene sets.

Usage

1
plotNES(gseaRes, N, gs, fdr, s, v, h, W, H, Date)

Arguments

gseaRes

a list of gsea results for different cohorts

N

a numeric variable indicating the number of cohorts being used

gs

a character variable indicating the name of genesets used

fdr

a numeric variable indicating the FDR cutoff value

s

a numeric variable representing the size of labels used in the plot

v

a numeric variable representing the value of vjust, vertical position of the labels

h

a numeric variable representing the value of hjust, horizontal position of the labels

W

a numeric variable representing the width of the figure

H

a numeric variable representing the height of the figure

Date

a character variable returned from Sys.Date()

Value

a list of ggplot object of the comparison plot of direction-consistent pathways, up and down-regulated pathways


Coraline66/RNASeqAnalysis documentation built on Nov. 25, 2019, 8:03 a.m.