Skip to content
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 MVP.Data #60

Closed
TinaNeik339 opened this issue Feb 21, 2021 · 2 comments
Closed

Error in MVP.Data #60

TinaNeik339 opened this issue Feb 21, 2021 · 2 comments

Comments

@TinaNeik339
Copy link

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!

@YinLiLin
Copy link
Collaborator

It seems that you have a typo for sep.hmp = "t", it should be "\t"?

@TinaNeik339
Copy link
Author

Thanks so much YinLiLin for the help! It works now :)

@hyacz hyacz closed this as completed Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants