create_random_alignment {beastier}R Documentation

Create a random alignment

Description

Create a random alignment

Usage

create_random_alignment(n_taxa, sequence_length, rate = 1, taxa_name_ext = "")

Arguments

n_taxa

The number of taxa

sequence_length

The number of base pairs the alignment will have

rate

mutation rate

taxa_name_ext

the extension of the taxa names

Value

an alignment of class DNAbin

Author(s)

Richèl J.C. Bilderbeek

Examples

 alignment <- create_random_alignment(
   n_taxa = 5,
   sequence_length = 10
 )
 image(alignment)

[Package beastier version 2.4.8 Index]