I am using SKAT for running a omnibus test on haplotypes and I have two questions regarding the analysis:
1. I would like to correct it for genetic relationship between samples. For that I use the GRM matrix from GCTA (this is a square matrix with values in the lower triangle of the matrix = values in the upper triangle of the matrix and diagonal values =1) and try to create a null model (response ~ GRM matrix) using SKAT_NULL_Model. The problem is that when I do this nul$s2 becomes NaN and then I cannot proceed with running the analysis using SKAT anymore. I am wondering if this is happening because of the structural property of the matrix (lower triangle = upper triangle) and if so then is there a way to resolve the issue in SKAT?
2. I use amino acid residues as independent dataset for running the analysis, which are coded as 0,1,2. The issue is that this 0,1,2 coding does not takes into account MAF. So when I use the data with SKAT, it starts flipping the "genotypes" because it is designed for rare variants. Is there a way to stop this in SKAT?
Thanks!
Nimisha
Read GENO.kinship
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
scan() richiede 'a real', invece risulta 'EMMA_KIN`'
Maybe you know how I can produce a kinship matrix in a format tha SKAT likes? Hope some you can give a feedback on this...
Thanks a lot in advance.
Best,
Alessandro