Learn R Programming

psygenet2r (version 1.2.0)

extractSentences: Method to obtain the evidences from a DataGeNET.Psy object.

Description

Internally, PsyGeNET uses a series of collected evidences from public literature. The internal table of a DataGeNET.Psy object can contains this information. The method extractSentences allows to extrat this information.

Usage

extractSentences(object, disorder, verbose)
"extractSentences"(object, disorder, verbose = FALSE)

Arguments

object
Object of class DataGeNET.Psy.
disorder
A disorder to check if any evidence exists.
verbose
If set to TRUE informative messages are show.

Value

A data frame showing the evidence.

Methods (by class)

  • DataGeNET.Psy: Get sentences or evidences

Examples

Run this code
data(qr)
extractSentences(qr, "Depression")

Run the code above in your browser using DataLab