gdcEnrichPlot {GDCRNATools} | R Documentation |
Bar plot and bubble plot for GO, KEGG, and DO functional enrichment analysis
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
####### 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')