I am currently working on a project using GENESIS. I have used the PLINK .bim, .fam and .bed files to create the .gds file as suggested by the software. I have also run fitNullModel and assocTestSingle successfully. It is stated in GENESIS that the effect size estimate (“Est”) is for each copy of the alternate allele.
My question is: which one should be considered the alternate allele in the output? Is it column 5 in the .bim file in accordance to the PLINK2 format of “When no header line is present, the columns are assumed to be in .bim file order (CHROM, ID, CM, POS, ALT, REF)”, or is it different for GENESIS?
Thank you for your time, Artemis
GENESIS 2.19.4 has a new method
effectAllele
to return the effect allele for any object type.Note that the allele switching problem is resolved in SeqArray 1.28.0: https://github.com/zhengxwen/SeqArray/issues/64
If you are using a version of R prior to 4.0 (as I was when I tested this), you most likely have an older version of SeqArray.