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

check_empty_beaustier_folders()

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

remove_beaustier_folders()
check_empty_beaustier_folders()

[Package beastier version 2.5.1 Index]