We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I use my own data to test the procedure, in the final steps, when I run:
idx <- site_cons > 0.999 fit3 <- fitCentipede( Xlist = list( DNase = cen$mat[idx, ] ), Y = as.matrix(data.frame( Intercept = rep(1, nrow(cen$mat[idx, ])), Conservation = site_cons[idx] )) )
It gives an error:
Initialization of the parameters: Error in quantile.default(x, c(TrimP, 1 - TrimP)) : missing values and NaN's not allowed if 'na.rm' is FALSE
but when I run:
fit2 <- fitCentipede( Xlist = list( DNase = cen$mat ), Y = as.matrix(data.frame( Intercept = rep(1, nrow(cen$mat)), Conservation = site_cons )) )
It goes right, I don't know what's the problem, please give me some help!
Thanks. Hu
The text was updated successfully, but these errors were encountered:
Hi Hu, you might consider reading the other related issues:
Sorry, something went wrong.
Thanks, I get it.
@hugch2010
I got the same error because 0 in cen$mat; what's your results for:
cen$mat
all(colSums(cen$mat) > 0) # expect TRUE
I tried to assign the minimum values to 0 positions to skip the error.
No branches or pull requests
Hi,
I use my own data to test the procedure, in the final steps, when I run:
It gives an error:
but when I run:
It goes right, I don't know what's the problem, please give me some help!
Thanks.
Hu
The text was updated successfully, but these errors were encountered: