alleleData: alleleData

Description Usage Arguments Value

View source: R/alleleData-class.R

Description

Contructs an object that holds the allele data and the phylogenetic tree

Usage

1
alleleData(data, tree, siteInfo = NULL, logProb = FALSE)

Arguments

data

A list of matricies, where each element in the list is a species, each column in a matrix is an allele, and each row is a site

tree

The tree corresponding the the list of allele data passed in. Tip names must match list names.

siteInfo

A data.frame containing classification information about each site, where each column characteristic, and each site is a row. Defaults to assuming all sites have the same info.

logProb

TRUE/FALSE indicating whether the passed probabilities are in log space (default=FALSE)

Value

an alleleData object


ndukler/epiAllele documentation built on May 5, 2019, 4:50 p.m.