read.codeml {treeio} | R Documentation

## read.codeml

### Description

read baseml output

### Usage

    read.codeml(rstfile, mlcfile, tree = "mlc", type = "Joint")

### Arguments

`rstfile` | rst file
`mlcfile` | mlc file
`tree` | one of 'mlc' or 'rst'
`type` | one of 'Marginal' or 'Joint'

### Value

A `treedata` object

### Author(s)

Guangchuang Yu

### Examples

    rstfile <- system.file("extdata/PAML_Codeml", "rst", package="treeio")
    mlcfile <- system.file("extdata/PAML_Codeml", "mlc", package="treeio")
    read.codeml(rstfile, mlcfile)

[Package treeio version 1.6.2 Index]