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 matexpo(Q * EL[i]) : NA/NaN/Inf in foreign function call (arg 1) #92

Open
U201412486 opened this issue Sep 9, 2022 · 0 comments

Comments

@U201412486
Copy link

Hi,
When I used the data data.zip to run the code below, It reported the error Error in matexpo(Q * EL[i]) : NA/NaN/Inf in foreign function call (arg 1).
tree <- ape::read.tree("J:/MTB/gwas/tree0909.txt")
genotype1 <- read.table("J:MTB/gwas/test2",header = T,check.names = F)
rownames(genotype1) <- genotype1$sample_id
genotype1$sample_id <- NULL
rownames(genotype1)
phenotype1 <- read.table("J:MTB/gwas/test")
rownames(phenotype1) <- phenotype1$V1
phenotype1$V1 <- NULL
hogwash(pheno = as.matrix(phenotype1), geno = as.matrix(genotype1), tree = tree)

What happend? Can you give me some advice?

Thanks,
sun,

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

1 participant