Just make it a package with a function to read the data from biomark files and a function to call ggplot by what is desired. Make markers that fail chi test red and text Make markers that pass chi ...
The genotype is a set of paired symbols used to represent the alleles present. The genotype can be homozygous (the same, BB or bb) or heterozygous (different, Bb).