sorry if I make mistakes, but I'm trying to create a phylogenetic tree using the ape package. However, I've come across a problem where I'm not able to assign my data as a matrix. I think that's what I'm doing anyway.
Here's the code:
library(ape) DNAL <- read.dna("AllSequences.aln", format = "clustal", as.matrix = TRUE)
My data are a clustal of DNA sequences found here: DNA sequences - Pastebin.com
I keep coming across an error saying
"Error in dimnames(x) <- dn :
length of 'dimnames'  not equal to array extent"
what is going on here?
Thanks for the help!