check_alignment: Check if the alignment is of the right type

View source: R/check_alignment.R

check_alignmentR Documentation

Check if the alignment is of the right type

Description

Will stop if not.

Usage

check_alignment(alignment)

Arguments

alignment

a DNA alignment, of class DNAbin

Value

nothing

Author(s)

Richèl J.C. Bilderbeek

Examples

# Cleanup
beastier::remove_beaustier_folders()
beastier::check_empty_beaustier_folders()

# Check cleanup by other functions
beastier::check_empty_beaustier_folders()

check_alignment(ape::as.DNAbin("ACGT"))

# Cleanup
beastier::remove_beaustier_folders()
beastier::check_empty_beaustier_folders()

pirouette documentation built on Oct. 7, 2023, 9:06 a.m.