powered by
Get the sequences from an alignment
get_alignment_sequences(alignment)
a numeric vector with the sequences
a DNA alignment, of class DNAbin
get_alignment_sequences( alignment = ape::as.DNAbin( x = list(species_1 = strsplit("aaaa", split = "")[[1]]) ) )
Run the code above in your browser using DataLab