scatterplotEnrichGO_HC: A dotplot that shows the result of a GO enrichment, using the...

View source: R/bioAnalysis.R

scatterplotEnrichGO_HCR Documentation

A dotplot that shows the result of a GO enrichment, using the package highcharter

Description

A scatter plot of GO enrichment analysis

Usage

scatterplotEnrichGO_HC(ego, maxRes = 10, title = NULL)

Arguments

ego

The result of the GO enrichment, provides either by the function enrichGO in DAPAR or the function enrichGO of the packaage 'clusterProfiler'

maxRes

The maximum number of categories to display in the plot

title

The title of the plot

Value

A dotplot

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_prot, package="DAPARdata")
obj <- Exp1_R25_prot
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
)
scatterplotEnrichGO_HC(ego)

prostarproteomics/DAPAR documentation built on March 28, 2024, 4:44 a.m.