Commit 61cc3b6b authored by khalid's avatar khalid
Browse files

Deal with cases where there less than two pops for Fst

parent d92cc784
......@@ -72,7 +72,10 @@ if (popmap_file != '')
plot(p)
dev.off()
}
} else {
}
if (nbpops < 2) { #or no popmap provided
prin("here")
# need popmap with at least 2 pops
write.table(0, file = meanfstFile, append = FALSE, quote = F, sep = '\t', row.names = T, col.names = NA);
write.table(0, file = fstFile, append = FALSE, quote = F, sep = '\t', row.names = T, col.names = NA);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment