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

lm pcr prevalence explicit #298

Merged
merged 15 commits into from
May 23, 2024
Merged

lm pcr prevalence explicit #298

merged 15 commits into from
May 23, 2024

Conversation

RJSheppard
Copy link
Member

malariasimulation currently only outputs lm prevalence, but it may be useful to also output pcr prevalence. I've added this functionality in.

@RJSheppard RJSheppard changed the base branch from master to dev May 2, 2024 11:04
RJSheppard added 2 commits May 8, 2024 15:09
…on't think it needs to be multiplied by psi. When these values are drawn in lines 135-140 of biting_process.R they get multiplied by psi in line 144. That means we're effectively multiplying these values by psi^2. I think we can correct this by adjusting the calculation thusly.

The two tests at the end would then need adjusting (one way or another) to reflect this change - which could use improving.
… to rendering tests to reflect additional outputs.
@RJSheppard RJSheppard force-pushed the lm_pcr_prevalence_explicit branch from 827ffd7 to b9b923c Compare May 8, 2024 14:34
Copy link
Member

@giovannic giovannic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve! As long as n_detect_pcr including all of U is something that users would expect. @pwinskill ?

@pwinskill
Copy link
Member

I approve! As long as n_detect_pcr including all of U is something that users would expect. @pwinskill ?

Good question Giovanni!
@RJSheppard - perhaps you could chat with Lucy at somepoint just to check this. I think she will have a much better idea of what is reasonable to assume here?

@RJSheppard
Copy link
Member Author

Just checked with Lucy and she says that's all good!

@RJSheppard RJSheppard merged commit 69ea7b6 into dev May 23, 2024
4 checks passed
@RJSheppard RJSheppard deleted the lm_pcr_prevalence_explicit branch May 23, 2024 11:40
@giovannic giovannic mentioned this pull request Sep 11, 2024
Merged
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

Successfully merging this pull request may close these issues.

4 participants