plot.gsea | R Documentation |
Print and plot GSEA output.
## S3 method for class 'gsea'
plot(x, xlab='Rank', ylab='Running Enrichment Score', col.line='green',
col.indicator='red', indicator.bar=c('score','fixed'), ...)
## S3 method for class 'gsea'
print(x, ...)
x |
a |
xlab |
a title for the x axis. |
ylab |
a title for the y axis. |
col.line |
color for running score line. |
col.indicator |
color for gene tag. |
indicator.bar |
denote whether the indicator bar should show the running score or a fixed height. |
... |
additional parameters for |
See function GSEA
for object gsea
.
GSEA
#example usage
#create a random data set
n=10000
x=data.frame(ID=paste0('Gene',1:n), strength=sort(rnorm(n,0,1)), stringsAsFactors=FALSE)
fit1=GSEA(x=x, go=paste0('Gene',sample(n,100)))
plot(fit1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.