View source: R/copy_true_alignment.R
copy_true_alignment | R Documentation |
Adapter function to create a twin alignment by simply copying the true alignment
copy_true_alignment(
true_alignment,
twin_phylogeny = "irrelevant",
root_sequence = "irrelevant"
)
true_alignment |
a DNA alignment, of class DNAbin |
twin_phylogeny |
a phylogeny of class phylo |
root_sequence |
the DNA sequence at the root of the phylogeny. By default, this will consist out of an equal amount of each letter Use check_root_sequence to check if a root sequence is valid. |
the true alignment
Richèl J.C. Bilderbeek, Giovanni Laudanno
# Check cleanup by other functions
beastier::check_empty_beaustier_folders()
true_alignment <- get_test_alignment()
twin_alignment <- copy_true_alignment(true_alignment)
# twin_alignment equals true_alignment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.