domainEnrichment: Domain enrichment in a desired system.

Description Usage Arguments Details Value Details Author(s) See Also Examples

Description

domainEnrichment Find the enriched domains in selected system and interpret enrichment by plot.

Usage

1
domainEnrichment(system, alpha = 0.05)

Arguments

system

The shortehand notation of selected system, five-letter code as discussed in class.

alpha

The alpha value for Benjamini-Hochberg control. Default is 0.05.

Details

For the PHYLA system, see details in the PHALY domain enrichemnt vignette (or load the vignette with vignette("domainEnrichment-Vignette", package = "BCB420.2019.ESA")).

Value

A data frame that include domains in the system with its counts and frequency in system and in random genes; p-value, odd ratio, adjust p-value and enrichment; interpro descriptions. Return NULL if system is not available by SyDBgetSysSymbols.

Details

This function is created as part of BCB420 2019 winter course. The domain databaase were fetched from InterPro, see more details in fetchData.

Author(s)

Fan Shen (aut)

See Also

fetchData Fetch data from package

SyDBgetRootSysIDs Get the system ID in database

SyDBgetSysSymbols Get the genes in desired system

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Plot enrichend domains in PHALY system orderd by rich factor
# Plot would separate to two parts if too many domains are enriched
# User can hover around the point on plot to get more info (i.e ID descripton)
system <- "PHALY"
domainEnrichment(system)

## End(Not run)

hyginn/BCB420.2019.ESA documentation built on May 29, 2019, 1:23 p.m.