calc.null.pboot.syn: Calculate the null distribution of the Synonymous Dss...

Description Usage Arguments Value Author(s) References See Also

Description

This function estimates a null distribution of the Dss statistic using the overall least squares tree as the evolutionary history of the sequences under the null hypothesis. The null distribution is calculated using the Synonyous Dss statistic across the alignment.

Usage

1
calc.null.pboot.syn(data, B, l, m, syn.matrix, exhaustive=F, codeml="codeml", evolver="evolverNSsites 6")

Arguments

data

The sequence alignment, as a matrix of A,C,T,G characters

B

Number of bootstrap replicates to use

l

Step size for the sliding windows

m

Half-window size (total window size will be 2m)

syn.matrix

An indicator matrix which specifies the transitions of interest. For synonymous distances, each entry will be a 1 for synonymous changes, and 0 for non-synonymous changes. See regist.synonym.

exhaustive

Logical: If TRUE, then an exhaustive search over all possible topologies is performed. Not allowed for datasets of greater than 6 sequences due to memory/time constraints.

codeml

Call to codeml executable; can be changed if needed

evolver

Call to evolver executable; can be changed if needed

Value

A vector of numeric values, representing the maximum Dss statistic at each bootstrap replicate.

Author(s)

Peter Chi pchi@calpoly.edu

References

G. McGuire, F. Wright, and M.J. Prentice. A graphical method for detecting recombination in phylogenetic data sets. Molecular Biology and Evolution, 14:1125-1131, 1997.

See Also

calc.Dss.syn, calc.null.pboot


synDss documentation built on May 2, 2019, 5:40 p.m.