extract: Raw data from 'DataGeNET.Psy' and 'JaccardIndexPsy'.

Description Usage Arguments Value Functions Examples

Description

Obtain the raw data from a PsyGeNET's query stored in a DataGeNET.Psy object or the raw data with all the Jaccard Index for the disease of interest of an JaccardIndexPsy object.

Usage

1
2
3
4
5
6
7
extract(object, ...)

## S4 method for signature 'DataGeNET.Psy'
extract(object)

## S4 method for signature 'JaccardIndexPsy'
extract(object, order.cl = "pval", ...)

Arguments

object

Object of class DataGeNET.Psy or JaccardIndexPsy

...

NO USED

order.cl

Order resulting data.frame by the name of this column.

Value

A data.frame containing the raw result from PsyGeNET or a data.frame with the result Jaccard Index for each disease.

A data.frame containing the raw result from PsyGeNET

A data.frame with the result Jaccard Index for each disease.

Functions

Examples

1
2
3
4
5
6
7
data(qr)
extract(qr)[1:2, ] # get internat data.frame
## Not run: 
#Being x an JaccardIndexPsy
extract(x)

## End(Not run)

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