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

Create function to facilitate performing calibration from a reference species #26

Open
mikemc opened this issue Nov 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mikemc
Copy link
Owner

mikemc commented Nov 3, 2021

It might be convenient to have a function that performs a simple plug-in approach to the the 'reference-species' approach to calibration described by https://github.com/mikemc/differential-abundance-theory. In its simplest form, the function simply needs to take an 'observed' matrix and a set of reference measurements for 1 or more species, and it can calibrate all species in observed by multiplying by the geometric mean of the reference measurements divided by the observed measurements for those species. However, since I don't necessarily recommend such a non-statistical approach except for exploration and demonstration, it might be better to instead just make a function that facilitates applying sample-specific normalizations - essentially, an easier to use version of 'sweep()'. This function would allow any type of normalization, including to the total abundance (as in so called 'quantitative microbiome profiling')

@mikemc mikemc added the enhancement New feature or request label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant