Closed lucavd closed 1 year ago
I just update and close this issue.
The problem was in the .bed file where some IDs were missing compared to the pheno file.
I found out it using the library(genio)
and read_plink
function. I got the IDs from the .fam file and then compared them to the pheno file and I found the problem.
I hope this can help some others
Bests and thank you for your work
L
I see this is the same issue of #24 but I give you some more context:
I checked the first time this error was reported on issue #4 but
> all.equal(samples.id, covariate.file_2$IID)
[1] TRUEThis code was working a year ago so I:
chunk.size=5000000
michiganCoxSurv
All gave the same error.
I also tried simulated bed-bim-fam files with the following code:
Same error
michiganCoxSurv
example works as intendedProvided example works as intended.
Full error output:
Pre processing code:
Covariate File: