groot.get {geneplast} | R Documentation

## Get information from individual slots in an OGR object.

### Description

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

### Usage

    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

    #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")

[Package geneplast version 1.8.0 Index]