This is the issue #6262 in the R-Forge support tracker
Original comment in R-Forge:
Anonymous message posted by evaughn@email.arizona.edu
I had been running msap successfully with my dataset. I then reduced the number of loci in the dataset (after some data clean up) and now I am getting the following error:
Error in nj(DM_copy) :
missing values are not allowed in the distance matrix
Consider using njs()
I edited the source code to use njs() but I'm now left with an error that causes my PCoA plotting to fail:
Error in cmdscale(DM, k = length(inds) - 1, eig = T) :
NA values not allowed in 'd'
I am assuming that there are values in my distance matrix that don't exist possibly due to the reduction in the size of my data set? Do you have some advice that might help me remedy this problem? I've attached the data file I am running.
Thanks!