psygenet2r
is an R package for query PsyGeNET database (www.psygenet.org) and perform co-morbidity studies within R framework.
This report is used for package distribution while we walk thought BioConductor publication process. psygenet2r
is already in Biocondcutor-devel.
While BioCondutor finish updating the package, psygenet2r
can be installed using devtools
from this repository:
library(devtools)
install_github("aGutierrezSacristan/psygenet2r")
The following lines show two examples of how PsyGeNET can be queried using psygenet2r
:
library(psygenet2r)
qg <- psygenetGene(gene = 4852,
database = "ALL",
check = FALSE
)
library(psygenet2r)
qd <- psygenetDisease(disease = "schizophrenia",
database = "ALL",
evidenceIndex = c('>', 0.5)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.