Learn R Programming

pirouette (version 1.6.9)

get_alignment_sequences: Get the sequences from an alignment

Description

Get the sequences from an alignment

Usage

get_alignment_sequences(alignment)

Value

a numeric vector with the sequences

Arguments

alignment

a DNA alignment, of class DNAbin

Examples

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

Run the code above in your browser using DataLab