Closed TinaNeik339 closed 3 years ago
Hi, I encounter this error. Could you please help? What's the source of the error?
MVP.Data(fileHMP = "~/Downloads/MVP/MVPgenotype.hmp.txt", filePhe = "~/Downloads/MVP/Phenotype_ishaq.txt", sep.hmp = "t", sep.phe = "\t", SNP.effect = "Add", fileKin = FALSE, filePC = FALSE, out = "mvp.hmp") [1] "Preparing data for MVP..." [1] "Phenotype individuals: 201473530007_R01C01, 201473530007_R01C02, 201473530007_R02C01, 201473530007_R02C02, 201473530007_R03C01..." [1] "Genotype individuals: NA, NA, NA, NA, NA..." Error in MVP.Data(fileHMP = "~/Downloads/MVP/MVPgenotype.hmp.txt", filePhe = "~/Downloads/MVP/Phenotype_ishaq.txt", : No common individuals between phenotype and genotype!
It seems that you have a typo for sep.hmp = "t", it should be "\t"?
sep.hmp = "t"
"\t"
Thanks so much YinLiLin for the help! It works now :)
Hi, I encounter this error. Could you please help? What's the source of the error?