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

test_differential_abundance with batch effect #93

Open
MEladawi opened this issue May 19, 2023 · 3 comments
Open

test_differential_abundance with batch effect #93

MEladawi opened this issue May 19, 2023 · 3 comments

Comments

@MEladawi
Copy link

I wanted to inquire if there is a way to account for covariates effects using test_differential_abundance?
Also, is there a way to support MaAsLin2 in the MicrobiotaProcess pipeline without manually extracting abundance then adding the differential analysis results?

Thanks!

@xiangpin
Copy link
Member

I wanted to inquire if there is a way to account for covariates effects using test_differential_abundance?

  • Maybe you can refer to the vignette of test_differential_abundance in tidybulk. I think you can use .formula to design your model.

is there a way to support MaAsLin2 in the MicrobiotaProcess pipeline without manually extracting abundance then adding the differential analysis results?

  • MaAsLin2 has many dependencies, it is not a good idea to link the MPSE object by depending on it directly. Since it is too bad to maintain the package. Maybe we need to develop some scripts (not put them in MicrobiotaProcess package) to help to perform these.

@MEladawi
Copy link
Author

Thank you. I am sorry I meant mp_diff_analysis, is there a way to use a formula in it?

re: MaAsLin2, it makes sense.

Thanks.

@xiangpin
Copy link
Member

The current version didn't support the multiple covariates. We only consider the group or contained subgroup (eg: subgroup of some patients). We will account for the covariate effect in the next version.

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