I have added definitions for variables expected to be in the R environment so that this script can be run independently of the previous script.
I assume the variables "failed_loci" and "failed_samples" are calculated correctly here, but I am using the cleaned SNPs table rather than the raw one as in the previous script. I hope that is OK.
I have added definitions for variables expected to be in the R environment so that this script can be run independently of the previous script. I assume the variables "failed_loci" and "failed_samples" are calculated correctly here, but I am using the cleaned SNPs table rather than the raw one as in the previous script. I hope that is OK.
This addresses issue #6