gplast.get: Get information from individual slots in an OGP object.

Description Usage Arguments Value Author(s) Examples

Description

Get information from individual slots in an OGP object and any available results from previous analysis.

Usage

1
gplast.get(object, what="status")

Arguments

object

an object of class 'OGP' OGP-class.

what

a single character value specifying which information should be retrieved from the slots. Options: "cogids", "sspids", "orthodist", "results", and "status".

Value

slot content from an object of class 'OGP' OGP-class.

Author(s)

Rodrigo Dalmolin, Mauro Castro

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#load datasets used for demonstration
data(gpdata.gs)

#create and object of class 'OGP'
ogp <- gplast.preprocess(cogdata=cogdata, sspids=sspids, cogids=cogids)

## run the gplast function
## this example uses the especies/COGs listed in the gpdata object
ogp <- gplast(ogp)
res <- gplast.get(ogp,what="results")

geneplast documentation built on Nov. 1, 2018, 2:27 a.m.