extractSentences: Method to obtain the sentences that support a gene-disease...

Description Usage Arguments Value Functions Examples

Description

PsyGeNET contains a list of sentences that support a gene-disease association from public literature. The internal table of a DataGeNET.Psy object contains this information. The method extractSentences allows to extract those sentences that support a gene-disease association given a DataGeNET.Psy object and a disorder of interest.

Usage

1
2
3
4
extractSentences(object, disorder, verbose)

## S4 method for signature 'DataGeNET.Psy'
extractSentences(object, disorder, verbose = FALSE)

Arguments

object

Object of class DataGeNET.Psy.

disorder

The disorder of interest. Only those sentences supporting a gene-disease association with this specific disorder will be extracted. Disorder must be provided by using "Disease Id" or "Disease Name". The "Disease Id" can be provided with or without the "uml" tag. Example of a "Disease Name": "schizophrenia"; Example of a "Disease Id": "umls:C0036341", that is equivalent of using "C0036341".

verbose

If set to TRUE informative messages are show.

Value

A data frame showing the sentences.

Functions

Examples

1
2
data(qr)
extractSentences(qr, "Depression")

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