R/is_alignment.R

Defines functions is_alignment

Documented in is_alignment

#' Determines if the input is an alignment of type \link[ape]{DNAbin}
#' @param input The input to be tested
#' @return TRUE or FALSE
#' @author Richèl J.C. Bilderbeek
#' @export
is_alignment <- function(input) {
  class(input) == "DNAbin"
}
richelbilderbeek/beastier documentation built on Nov. 8, 2023, 9:29 p.m.