cpdbOverRepresentationAnalysis: Get over-representation analysis

Description Usage Arguments Examples

View source: R/cpdbOverRepresentationAnalysis.R

Description

Performs over-representation analysis of functional sets with provided physical entities.

Usage

1
2
3
4
5
6
7
8
cpdbOverRepresentationAnalysis(
  entityType,
  fsetType,
  accNumbers,
  accType,
  cpdbIdsBg = NULL,
  pThreshold = 0.05
)

Arguments

entityType,

should be either 'genes' or 'metabolites'.

fsetType

is the type of the functional sets to be tested (as obtained with the getCpdbAvailableFsetTypes function; e.g. 'P' for pathways).

accNumbers

is a list of interesting accNumbers (e.g. differentially expressed)

accType

is a valid accession number type.

cpdbIdsBg

is a list of CPDB entity IDs in the background. If empty, the default background is used (all different entities present in at least one functional set of the type fsetType and identifiable with accession numbers of type 'accType').

pThreshold

is a p-value threshold, only sets with significant over-representation below or equal to this threshold will be provided.

Examples

1
2
3
4
5
6
library(PathData)

accType <- "uniprot"
accNumbers <- c("MDHM_HUMAN", "MDHC_HUMAN", "DLDH_HUMAN", "DHSA_HUMAN", "DHSB_HUMAN", "C560_HUMAN", "DHSD_HUMAN", "ODO2_HUMAN", "ODO1_HUMAN", "CISY_HUMAN", "ACON_HUMAN", "IDH3A_HUMAN", "IDH3B_HUMAN", "IDH3G_HUMAN", "SUCA_HUMAN", "SUCB1_HUMAN", "FUMH_HUMAN", "OGDHL_HUMAN", "ACOC_HUMAN", "DHTK1_HUMAN", "AMAC1_HUMAN")

overrep <- cpdbOverRepresentationAnalysis("genes", "C", accNumbers, accType)

isglobal-brge/brgeEnrich documentation built on Dec. 20, 2021, 8 p.m.