Open yard2357 opened 3 years ago
I am having a similar problem, did anyone find a solution to this issue.
Hi, I have also met this problem, have you solved this question?
Hey all - I'm currently not actively maintaining this package, but have you ensured that your sample IDs match whats in the genotype file? I have a PR where I adjusted this but haven't pushed it to main yet as it needs more testing. https://github.com/suchestoncampbelllab/gwasurvivr/pull/28
Let me know is that helps.
@aarizvi If the sample ID's are required to match what is in the genotype file how does this work with plink file sets where the unique id is two columns the FID and IID?
Hi, I'm trying to running gwasurvivr to do survival analysis.
the code I'm using is as follows:
library(gwasurvivr)
I already verify my covariant file and bed file to make sure that my sample id is matched and use 'sample.ids <- as.character(survival_449$Subject_ID)' to assign sample id as class character
but it still shows Error in genotypes[!blankSNPs, cox.params$ids] : subscript out of bounds
do you have any ideas as to what may be causing this?``