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

Problem in imMVP execution "Number of individuals in phenotype and genotype doesn't match" #77

Open
DominiqueAhouanhode opened this issue Apr 25, 2022 · 5 comments

Comments

@DominiqueAhouanhode
Copy link

Hello!
Here is my code to perform imMVP function, but error message occurs.
I have 24 individuals in the phenotype file and 24 columns in genotype matrix.

imMVP <- MVP(phe=phenotype,
geno=genotype,
map=map,
#K=Kinship,
#CV.GLM=Covariates,
#CV.MLM=Covariates,
#CV.FarmCPU=Covariates,
nPC.GLM=5,
nPC.MLM=3,
nPC.FarmCPU=3,
priority="speed",
#ncpus=10,
vc.method="BRENT",
maxLoop=10,
method.bin="FAST-LMM",
#permutation.threshold=TRUE,
#permutation.rep=100,
threshold=0.05,
method=c("GLM", "MLM", "FarmCPU")
)

Error in MVP(phe = phenotype, geno = genotype, map = map, nPC.GLM = 5, :
The number of individuals in phenotype and genotype doesn't match!

@DominiqueAhouanhode DominiqueAhouanhode changed the title Problem in imMVP execution "Number of individuals in phenotype doesn't match" Problem in imMVP execution "Number of individuals in phenotype and genotype doesn't match" Apr 25, 2022
@YinLiLin
Copy link
Collaborator

Please use dim(phenotype) and dim(genotype) to check the dimension of those two matrices again.

@DominiqueAhouanhode
Copy link
Author

They have a same dimension

@YinLiLin
Copy link
Collaborator

Would you mind sending us your data by email? we are pleased to debug rMVP with this issue.

@DominiqueAhouanhode
Copy link
Author

DominiqueAhouanhode commented Apr 26, 2022 via email

@DominiqueAhouanhode
Copy link
Author

DominiqueAhouanhode commented Oct 11, 2022 via email

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

2 participants