Hi!
I was running the snp part of the code for 1000 sequences for one gene. There are polymorphisms in these sequences, including insertions and deletions. They have been aligned by MUSCLE, and I have checked that there ARE polymorphisms. However, when I entered
mat<-DNAbin2genind(dna)@tab
it says
No polymorphism detected - returning NULL.
Error in FUN(X[[i]], ...) :
trying to get slot "tab" from an object of a basic class ("NULL") with no slots
I don't have this problem for all genes, just for a selected few. I was wondering why this is so?
Hi! I was running the snp part of the code for 1000 sequences for one gene. There are polymorphisms in these sequences, including insertions and deletions. They have been aligned by MUSCLE, and I have checked that there ARE polymorphisms. However, when I entered mat<-DNAbin2genind(dna)@tab
it says No polymorphism detected - returning NULL. Error in FUN(X[[i]], ...) : trying to get slot "tab" from an object of a basic class ("NULL") with no slots
I don't have this problem for all genes, just for a selected few. I was wondering why this is so?
Thank you! ywx1