Check Substitution Model Strings

Description

Check if a string represents a phast substitution model

Usage

1

Arguments

mod

A vector of character strings representing substitution model names to be tested

Value

A vector of logical values indicating whether each string represents a defined substitution model

Author(s)

Melissa J. Hubisz and Adam Siepel

Examples

1
2
3
4
is.subst.mod.tm(c("JC69", "K80", "F81", "HKY85", "HKY85+Gap",
                  "REV", "SSREV", "REV+GC", "UNREST", "R2", "U2", "R2S",
                  "U2S", "R3", "R3S", "U3", "U3S", "GC", "HB",
                  "bad.model"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.