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 fit$converged : $ operator is invalid for atomic vectors #8

Open
MonicaSteffi opened this issue Jan 18, 2024 · 1 comment
Open

Comments

@MonicaSteffi
Copy link

Hi Author,

Thank you for the mail.

I created a phyloseq object as you mentioned in the documentation. But wheneve I run TaxaNorm_Normalization, I am getting
Error in fit$converged : $ operator is invalid for atomic vectors error. Kindly check

@wangziyue57
Copy link
Owner

The error is caused from the optim() function when estimating the parameters using EM. We haven't encountered this problem in our analysis, but we'll check and made some suggestions in the newer package version.

Currently, I assume it only happens for some rare features, and since TaxaNorm is independent for each feature, you could try different filtering before running TaxaNorm.

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