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

mergeMaps documentation does not describe merging algorithm #122

Open
drserajames opened this issue Mar 24, 2022 · 0 comments
Open

mergeMaps documentation does not describe merging algorithm #122

drserajames opened this issue Mar 24, 2022 · 0 comments
Assignees

Comments

@drserajames
Copy link
Member

The documentation for mergeMaps does not describe how the titres are merged (but it is very well described in the code, which I reproduce below).

I can update the documentation at some point.

  1. If there are > and < titers, result is "*"
    2a. If there are just ".", result is "."
  2. If there are just "" or ".", result is ""
  3. If there are just lessthan titers, result is min of them, keeping lessthan
  4. If there are just morethan titers, result is max of them, keeping morethan
  5. Convert > and < titers to their next values, i.e. <40 to 20, >10240 to 20480, etc. and take the log
  6. Compute SD, if SD > options.sd_limit, result is *
  7. Otherwise return the mean (ignoring nas)
@drserajames drserajames self-assigned this Mar 24, 2022
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

1 participant