Description Usage Arguments Value Author(s) Examples
View source: R/gdcEnrichmentPlots.R
Bar plot and bubble plot for GO, KEGG, and DO functional enrichment analysis
1 2 | gdcEnrichPlot(enrichment, type = "bar", category = "KEGG",
num.terms = 10, bar.color = "black")
|
enrichment |
a dataframe generated from
|
type |
type of the plot, should be one of |
category |
which category should be plotted. Possible values are
|
num.terms |
number of terms to be plotted. Default is |
bar.color |
color of the bar plot. Default is |
A bar plot or bubble plot of functional enrichment analysis
Ruidong Li and Han Qu
1 2 3 4 5 6 7 | ####### Enrichment plots #######
enrichOutput<-data.frame(Terms=c('hsa05414~Dilated cardiomyopathy (DCM)',
'hsa04510~Focal adhesion',
'hsa05205~Proteoglycans in cancer'),
Category=rep('KEGG',3),
FDR=c(0.001,0.002,0.003))
gdcEnrichPlot(enrichment=enrichOutput, type='bar', category='KEGG')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.