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 when running cal_mantel_corr #368

Open
afmbafmb opened this issue May 24, 2024 · 2 comments
Open

Error when running cal_mantel_corr #368

afmbafmb opened this issue May 24, 2024 · 2 comments

Comments

@afmbafmb
Copy link

Hi, Thanks so much for developing such a useful package!

I followed the lines from your tutorial

t1 <- trans_nullmodel$new(dataset, filter_thres = 0.0005, add_data = env_data_16S)

followed by

t1$cal_mantel_corr(use_env = "pH")

and I get this error after that

Warning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to

I didn't have any problem with other functions like cal_ses_betamntd, cal_NTI, etc.

Thanks in advance for your help!

@ChiLiubio
Copy link
Owner

Hi. Is it the example data inside the package? Though I am not sure how the warning message happened, there may be an available result. Please first check the result, i.e. res_mantel_corr in the object. I will try to reproduce it.

@afmbafmb
Copy link
Author

Hi Liu, Thanks for your reply! Yes it's from the example dataset inside the package. The error msg just keep running continuously till I stop it. There is no res_mantel_corr result generated.

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