univ_AnnotDbPkg: Returns the totality of ENTREZ ID (gene id) of an OrgDb...

View source: R/bioAnalysis.R

univ_AnnotDbPkgR Documentation

Returns the totality of ENTREZ ID (gene id) of an OrgDb annotation package. Careful : org.Pf.plasmo.db : no ENTREZID but ORF

Description

Function to compute the 'universe' argument for the enrich_GO function, in case this latter should be the entire organism. Returns all the ID of the OrgDb annotation package for the corresponding organism.

Usage

univ_AnnotDbPkg(orgdb)

Arguments

orgdb

a Bioconductor OrgDb annotation package

Value

A vector of ENTREZ ID

Author(s)

Florence Combes

Examples

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_AnnotDbPkg("org.Sc.sgd.db")


prostarproteomics/DAPAR documentation built on Oct. 11, 2024, 12:03 p.m.