barplotGroupGO_HC | R Documentation |
highcharter
A barplot which shows the result of a GO classification, using the
package highcharter
barplotGroupGO_HC(ggo, maxRes = 5, title = "")
ggo |
The result of the GO classification, provides either by the
function |
maxRes |
An integer which is the maximum number of classes 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") ggo <- group_GO( data = Biobase::fData(obj)$Protein.IDs, idFrom = "UNIPROT", orgdb = "org.Sc.sgd.db", ont = "MF", level = 2 ) barplotGroupGO_HC(ggo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.