conv.evol: Simulate convergent evolution

Description Usage Arguments

Description

This function simulates convergent evolution between two taxa from a DNA sequence alignment.

Usage

1
conv.evol(alignment, perc, taxa1, taxa2, map)

Arguments

alignment

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

perc

Percentage of possible one-step codon changes into identical amino acids to make.

taxa1

A number indicating the row of the first taxa to use

taxa2

A number indicating the row of the second taxa to use

map

Codon map


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