-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in if (lev[1] != inter) { : the condition has length > 1 #145
Comments
Yes, some functions were needed to update above R 4.4.0. |
您好,我的R版本是4.4.0,GAPIT版本是GAPIT_3.4.0,依然是同样的报错,请问如何解决这个报错? |
@Eason418 请使用最新的GAPIT, 现在是3.5版本,或者从GitHub上下载GAPIT.Numericalization函数,本地source一下 |
Hello, |
@ShonaStrachan Could you send your data with me? So I can help. |
@ShonaStrachan Thanks for your data. I noticed that there are lots of multiple mutations in your genotype file. we call them as MNPs, not as SNPs. So GAPIT can not deal with this type data directly. X=myG[-1,] myG=data.table::fread("new.HapMap.txt", write.table(myGAPIT$GD,"GD.txt",row.names=F,quote=F) |
I've tried the fix and it's working now. Thank you for your help. |
In the latest version of GAPIT I have been getting this error message "Error in if (lev[1] != inter) { : the condition has length > 1" while trying to numericalize the hapmap file.
The same input files are not giving this error in an older version of GAPIT. Also the version giving an error is installed on a HPC. I am one of two people I know having this issue. I have tried both R 4.3.0 and 4.4.0
The text was updated successfully, but these errors were encountered: