rateModel: rateModel

Description Usage Arguments Value

View source: R/rateModel-class.R

Description

Contructs an object that holds a rate model for a set of alleles

Usage

1
2
rateModel(data, rateFormula, piFormula = NULL, lineageTable = NULL,
  rateBounds = c(10^-3, 5))

Arguments

data

An alleleData object

rateFormula

A formula that uses the variables in the allele data object to compute turnover rate

piFormula

A formula that uses the variables in the allele data object to compute pi (if NULL uses the same as rateFormula)

lineageTable

A table with columns parent,child,edgeID, and rateGroup, where rateGroup is used to specify how the rates are tied between the branches

Value

an rateModel object


ndukler/phyloGLM documentation built on Sept. 25, 2019, 9:17 p.m.