get_alignment_n_taxa: Get the number of taxa of an alignment

View source: R/get_alignment_n_taxa.R

get_alignment_n_taxaR Documentation

Get the number of taxa of an alignment

Description

Get the number of taxa of an alignment

Usage

get_alignment_n_taxa(alignment, verbose = FALSE)

Arguments

alignment

a DNA alignment, of class DNAbin

verbose

if TRUE, show more output

Value

the number of taxa

Author(s)

Richèl J.C. Bilderbeek

Examples

get_alignment_n_taxa(
  alignment = ape::as.DNAbin(
    x = list(species_1 = strsplit("aaaa", split = "")[[1]])
  )
)

richelbilderbeek/pirouette documentation built on Oct. 18, 2023, 3:09 p.m.