Learn R Programming

psygenet2r

psygenet2r is an R package for query PsyGeNET database (www.psygenet.org) and perform co-morbidity studies within R framework.

What is this repository for?

This report is used for package distribution while we walk thought BioConductor publication process. psygenet2r is already in Biocondcutor-devel.

Package' Status

  • Version: 1.0.1
  • Authors: Alba Gutierrez-Sacristan (GRIB-UPF), Carles Hernandez-Ferrer (CREAL)
  • Maintainer: Alba Gutierrez-Sacristan (GRIB-UPF)

How to start

Installation

While BioCondutor finish validating the package, psygenet2r can be installed using devtools from this repository:

library(devtools)
install_bitbucket("albags/psygenet2r")

Querying PsyGeNET:

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 = "Single Major Depressive Episode", 
    database = "ALL",
    score = c('>', 0.5) 
)

Copy Link

Version

Version

1.2.0

License

MIT + file LICENSE

Maintainer

Alba GutierrezSacristan

Last Published

February 15th, 2017

Functions in psygenet2r (1.2.0)

psygenetDiseaseSentences

Query PsyGeNET for given disease(s) and extract the pmids sentences that report a gene-disease asssociation.
ndisease

Getter from DataGeNET.Psy.
plot,JaccardIndexPsy,ANY-method

Plot the content of a JaccardIndexPsy object.
jaccardEstimation

Calculation of the Jaccard Index between ideseases
enrichedPD

Enrichment of a user's input (genes) in PsyGeNET's diseases.
JaccardIndexPsy-class

Class JaccardIndexPsy
psygenet2r

psygenet2r: Package to query PsyGeNET database and to perform comorbidity studies
getUMLs

Query PsyGeNET for given gene(s) and generates an DataGeNET.Psy
extractSentences

Method to obtain the evidences from a DataGeNET.Psy object.
ngene

Getter from DataGeNET.Psy.
psygenetDisease

Query PsyGeNET for given disease(s) and generates an DataGeNET.Psy
extract

Raw data from DataGeNET.Psy and JaccardIndexPsy.
plot,DataGeNET.Psy,ANY-method

Plots the content of a DataGeNET.Psy or JaccardIndexPsy object.
psygenetGeneSentences

Query PsyGeNET for given gene(s) and extract the pmids sentences that report a gene-disease asssociation.
pantherGraphic

Query PsyGeNET for given genes and creates a representation in base of their panther-class
qr

DataGeNET.Psy obtained from quering PsyGeNET for gene '4852'.
DataGeNET.Psy-class

Class DataGeNET.Psy
psygenetGene

Query PsyGeNET for given gene(s) and generates an DataGeNET.Psy