test.submodel.valid.raxml: model validation of the substitution models

test.submodel.valid.raxmlR Documentation

model validation of the substitution models

Description

The function includes chi-squres goodness-of-fit test for validating the GTRGAMMA model. There are three tests, (1) the chi-square test for base frequencies, (2) the chi-square test for double-nucleotide frequencies, (3) the test for site patterns and the test statistics is sum(|exp_freq-obs_freq|).

Usage

test.submodel.valid.raxml(inputfile, path_raxml, path_seqgen, nbootstrap=100)

Arguments

inputfile

the sequence file

path_raxml

the full path of the raxml binary

path_seqgen

the path of the seq-gen binary

nbootstrap

The number of bootstrap replicates in the site pattern test.

Author(s)

Liang Liu lliu@uga.edu


lliu1871/phybase documentation built on April 21, 2024, 3:16 a.m.