Open dionnecargy opened 5 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.:
Can I please have some help!