barplotEnrichGO_HC | R Documentation |
highcharter
A barplot of GO enrichment analysis
barplotEnrichGO_HC(ego, maxRes = 5, title = NULL)
ego |
The result of the GO enrichment, provides either by the function
|
maxRes |
The maximum number of categories to display in the plot |
title |
The title of the plot |
A barplot
Samuel Wieczorek
data(Exp1_R25_prot, package="DAPARdata")
obj <- Exp1_R25_prot[seq_len(10)]
if (!requireNamespace("org.Sc.sgd.db", quietly = TRUE)) {
stop("Please install org.Sc.sgd.db:
BiocManager::install('org.Sc.sgd.db')")
}
library(org.Sc.sgd.db)
univ <- univ_AnnotDbPkg("org.Sc.sgd.db")
ego <- enrich_GO(
data = Biobase::fData(obj)$Protein.IDs, idFrom = "UNIPROT",
orgdb = "org.Sc.sgd.db", ont = "MF", pval = 0.05, universe = univ
)
barplotEnrichGO_HC(ego)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.