gplast.get {geneplast} | R Documentation

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

### Description

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

### Usage

    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

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

[Package geneplast version 1.20.1 Index]