point_mutation_nucleotide: Mutates a nucleotide according to some model Takes a...

Description Usage Arguments Value

Description

Mutates a nucleotide according to some model Takes a character and returns a character

Usage

1
point_mutation_nucleotide(nucleotide, r_num, cumulative_matrix)

Arguments

nucleotide

The input nucleotide which is to be mutated

r_num

A random number between 0 and 1, which is used to determine what mutation occurs

cumulative_matrix

The cumulative matrix for a transition matrix coressponding to the model that we are mutating the nucleotide by

Value

The nucleotide after the random mutation


sams25/rcombinator_old documentation built on May 28, 2019, 8:40 a.m.