Closed complexgenome closed 2 years ago
Hi Sanjeev,
Thanks for your question. The number of individuals in your genotype and null model are not matched. Specifically, there are 12,508 individuals in your genotype matrix, and 9877 individuals in the null model. One needs to match the individuals in the genotype matrix and null model to have same length and order when using the MetaSTAAR_worker_sumstat()
function.
Please feel free to let me know if you have any questions.
Best,
Xihao
Dear Developer,
With STAAR I fitted null model using sparse genetic relationship matrix.
Run using null model output:
Error:
Genotype in ch_genotype has 12508 row (one per person) and one column, that is, at the moment only one SNP.
length(CH_GWAS_obj_nullmodel_sparse$Y)
9877
69139
Can you please assist?
Thank you