Learn R Programming

psygenet2r (version 1.2.0)

enrichedPD: Enrichment of a user's input (genes) in PsyGeNET's diseases.

Description

Test the enrichment of a given gene list on Psychiatric Disorders from PsyGeNET.

Usage

enrichedPD(gene, database = "CURATED", verbose = FALSE)

Arguments

gene
Name or vector of names (that can be both code or uml) to specific genes from PsyGeNET.
database
Name of the database that will be queried. It can take the values 'MODELS' to use Comparative Toxigenomics Database, data from mouse and rat; 'GAD' to use Genetic Association Database; 'CTD' to use Comparative Toxigenomics Database, data from human; 'PsyCUR' to use Psychiatric disorders Gene association manually curated; 'CURATED' to use Human, manually curated databases (PsyCUR and CTD); or 'ALL' to use all these databases. Default 'CURATED'.
verbose
By default FALSE. Change it to TRUE to get a on-time log from the function.

Value

A data.frame with the enricment at each Psychiatric Disorder

Examples

Run this code
enrichedPD(c("ADCY2", "AKAP13", "ANK3"), "CURATED")

Run the code above in your browser using DataLab