enrichplot: enrichplot function is used to draw the enrichment plot.

Description Usage Arguments Value Examples

View source: R/enrichplot.r

Description

enrichplot function is used to draw the enrichment plot.

Usage

1
2
enrichplot(file, type, mycolor = c("red", "navy", "darkgreen",
  "blueviolet", "chocolate4", "black"), plot_legend = "right")

Arguments

file

pathway file, the format is xls

type

the type of plot, dot,line,barcode

mycolor

the type of plot, dot,line,barcode

plot_legend

location of the legend,left,right

Value

a plot, the format is pdf

Examples

1
2
3
4
5
path <- "D:\\code\\r\\FigureYa13GSEA_Java_update"
file <- mergefile(path)
enrichplot <-enrichplot(file,type="dot")
enrichplot <-enrichplot(file,type="line",plot_legend="left")
enrichplot <-enrichplot(file,type="barcode")

ZhangTianxin-Pr/ggEnrich documentation built on Nov. 21, 2019, 1:56 a.m.