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.
- Version: 1.0.1
- Authors: Alba Gutierrez-Sacristan (GRIB-UPF), Carles Hernandez-Ferrer (CREAL)
- Maintainer: Alba Gutierrez-Sacristan (GRIB-UPF)
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
:
- Gene Query
library(psygenet2r)
qg <- psygenetGene(gene = 4852,
database = "ALL",
check = FALSE
)
- Disease Query
library(psygenet2r)
qd <- psygenetDisease(disease = "schizophrenia",
database = "ALL",
evidenceIndex = c('>', 0.5)
)