Closed iimog closed 2 years ago
There is an error in the implementation of the kinship matrix after vanRaden. Column i of p_mat should be 2 * (p_i - 0.5). In addition the coding of the genotype matrix might be incorrect for vanRaden (requires {-1,0,1} receives {0, 0.5, 1}). https://github.com/Joyvalley/GWAS_Flow/blob/cafa4d71bbc2363f26a27597234ef3dc0155b25f/gwas_flow/main.py#L16
p_mat
2 * (p_i - 0.5)
Originally reported by Maura John
It was always recommended to provide a proper kinship matrix. So starting from version 1.2.0 this is required.
There is an error in the implementation of the kinship matrix after vanRaden. Column i of
p_mat
should be2 * (p_i - 0.5)
. In addition the coding of the genotype matrix might be incorrect for vanRaden (requires {-1,0,1} receives {0, 0.5, 1}). https://github.com/Joyvalley/GWAS_Flow/blob/cafa4d71bbc2363f26a27597234ef3dc0155b25f/gwas_flow/main.py#L16Originally reported by Maura John