psygenetDiseaseSentences: Query PsyGeNET for given disease(s) and extract the pmids...

Description Usage Arguments Value Examples

View source: R/psygenetDiseaseSentences.R

Description

Given a disease or a disease list, retrives the pmids and sentences for each gene-disease association from PsyGeNET and creates an object of type DataGeNET.Psy.

Usage

1
psygenetDiseaseSentences(diseaseList, database = "ALL", verbose = FALSE)

Arguments

diseaseList

Name or vector of names (that can be both code or uml) to specific diseases from PsyGeNET. The diseases non existing in PsyGeNET will be removed from the output.

database

Name of the database that will be queried. It can take the values 'psycur15' to use data validated by experts for first release of PsyGeNET; 'psycur16' to use data validated by experts for second release of PsyGeNET; or 'ALL' to use both databases. Default 'ALL'.

verbose

By default FALSE. Change it to TRUE to get a on-time log from the function.

Value

An object of class DataGeNET.Psy

Examples

1
2
3
diseasesOfInterest <- c( "Bipolar Disorder","Depressive Disorder, Major" )
psyDisSen <- psygenetDiseaseSentences( diseaseList = diseasesOfInterest,
                                       database = "ALL" )

psygenet2r documentation built on Jan. 31, 2021, 2 a.m.