groot.get: Get information from individual slots in an OGR object.

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

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

Arguments

object

an object of class 'OGR' OGR-class.

what

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

Value

slot content from an object of class 'OGR' OGR-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 'OGR' for H. sapiens
ogr <- groot.preprocess(cogdata=cogdata, phyloTree=phyloTree, spid="9606", cogids=cogids)

## run the groot function
## this example uses the orthologous groups listed in the gpdata object
ogr <- groot(ogr, nPermutations=100)
res <- groot.get(ogr, what="results")

geneplast documentation built on Nov. 8, 2020, 7:57 p.m.