I have successfully run glmm.score, but am getting the following error with glmm.wald (using gds):
Error in if (is.gds) { : the condition has length > 1
R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu
snps <- c("SNP1","SNP2") #actually used SNP names stored in annotation/id - just providing dummy name here
glmm.wald(fixed = pheno1 ~ age + sex, data=pheno, kins=GRM, id="ID", family=binomial(link="logit"), infile=gds, snps=snps)
Error in if (is.gds) { : the condition has length > 1
I have successfully run glmm.score, but am getting the following error with glmm.wald (using gds): Error in if (is.gds) { : the condition has length > 1
R version 4.4.1 (2024-06-14) -- "Race for Your Life" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu
GRM <- as.matrix(read.table("test.rel",header=F)) header <- readLines("header.txt") rownames(GRM) <- header colnames(GRM) <- header
Thanks in advance for any advice you can provide!