Open dionnecargy opened 4 years ago
Hi, when I go to add the data generated (from runStructure) via loadStructure, it keeps introducing NA's into the last column of the file! Therefore when I generate clumpp files, the final cluster is NA and I can't generate plots etc. !
k3_1 <- loadStructure("/R_STRUCTURE/run01_K_03.out_f") k3_2 <- loadStructure("/R_STRUCTURE/run02_K_03.out_f") k3_3 <- loadStructure("/R_STRUCTURE/run03_K_03.out_f")
NAs introduced by coercion
k3_struct <- structList(k3_1, k3_2, k3_3) #works Q_k3 <- lapply(k3_struct, getQ) #works but then introduces NA's in last column e.g.:
Can I please have some help!
Hi, when I go to add the data generated (from runStructure) via loadStructure, it keeps introducing NA's into the last column of the file! Therefore when I generate clumpp files, the final cluster is NA and I can't generate plots etc. !
k3_1 <- loadStructure("/R_STRUCTURE/run01_K_03.out_f") k3_2 <- loadStructure("/R_STRUCTURE/run02_K_03.out_f") k3_3 <- loadStructure("/R_STRUCTURE/run03_K_03.out_f")
NAs introduced by coercion
k3_struct <- structList(k3_1, k3_2, k3_3) #works Q_k3 <- lapply(k3_struct, getQ) #works but then introduces NA's in last column e.g.:![Screen Shot 2019-09-29 at 11 18 30 am](https://user-images.githubusercontent.com/41425481/65824352-e3762800-e2aa-11e9-9d22-cf3f25fccdc0.png)
Can I please have some help!