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

multiple trait analysis issues #32

Closed
Arthur1021 opened this issue Feb 4, 2019 · 2 comments
Closed

multiple trait analysis issues #32

Arthur1021 opened this issue Feb 4, 2019 · 2 comments

Comments

@Arthur1021
Copy link

Arthur1021 commented Feb 4, 2019

Hello, Xiaolei,

I found single trait perform correctly, multiple traits analysis running with errors.(version 0.99.10)

for(i in 2:ncol(phenotype)){imMVP <- MVP(phe=phenotype[, c(1, i)],geno=genotype,map=map,K=Kinship,nPC.GLM=5,nPC.MLM=3,nPC.FarmCPU=3,perc=1,priority="speed",vc.method="GEMMA",maxLoop=10,method.bin="FaST-LMM",permutation.threshold=TRUE,permutation.rep=100.threshold=0.05,method=c("GLM", "MLM", "FarmCPU"))}
Error: unexpected symbol in " 2:ncol(phenotype)){imMVP <- MVP(phe=phenotype[, c(1, i)],geno=genotype,map=map,K=Kinship,nPC.GLM=5,nPC.MLM=3,nPC.FarmCPU=3,perc=1,priority="speed",vc.method="GEMMA",maxLoop=10,method.bin="FaS"
Execution halted

@hyacz
Copy link
Collaborator

hyacz commented Feb 5, 2019

Hi,

Thank you for using MVP. There is a typo in the code you provide, permutation.rep = 100 should be followed by a comma instead of a dot.

Best,
Haohao

@Arthur1021
Copy link
Author

Thank you very much, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants