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

Vivax competing hazards main parameters #315

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

RJSheppard
Copy link
Member

Added parameters csv file that contains falciparum and vivax specific parameter sets.

These are now selected in the get_parameters() function by specificying parasite == "falciparum" or "vivax". The functions then selects the parasite-specific values and combines then withe the non-parasite specific values.

In order to allow the vivax code to run without full functionality, we have included additional falciparum parameters in the vivax parameter set. These will be removed in the following stages.

Added tests to check parameters are behaving as expected.

@RJSheppard RJSheppard changed the base branch from vivax_competing_hazards_main to dev July 3, 2024 15:00
@RJSheppard RJSheppard changed the base branch from dev to competing_hazards_recovery_infection_resolution July 4, 2024 11:30
data-raw/parasite_parameters.R Show resolved Hide resolved
tests/testthat/test-vivax.R Outdated Show resolved Hide resolved
tests/testthat/test-vivax.R Show resolved Hide resolved
@pwinskill
Copy link
Member

/benchmark

1 similar comment
@RJSheppard
Copy link
Member Author

/benchmark

pwinskill

This comment was marked as resolved.

@RJSheppard
Copy link
Member Author

@pwinskill This is a good spot - I think I might have the correct parameter draws data sets somewhere, but need to dig this out and review to make sure it's what I think it should be... (Some of the column headings were mislabeled in the file I'd been sent).

Base automatically changed from competing_hazards_recovery_infection_resolution to dev August 20, 2024 10: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.

Once Pete's comments have been addressed, this looks good to me!

@giovannic
Copy link
Member

giovannic commented Sep 16, 2024

I wouldn't want to hold back this PR by discussing the best way to benchmark vivax without adding an hour to our benchmark task. Could we move that functionality to a separate PR?

Otherwise, we can merge this once you've updated to dev and @pwinskill is happy with it.

@RJSheppard RJSheppard changed the base branch from dev to master September 16, 2024 13:44
@RJSheppard RJSheppard changed the base branch from master to dev September 16, 2024 13:44
@RJSheppard
Copy link
Member Author

I've taken out that functionality and tried to rebase again. I'm hoping that everything works now and that it's ready for merging, but I'm suspicious that it doesn't seem to be merging into the dev branch at the minute? Lots of files seem to have been changed, but these look like they are consistent with dev anyway, so I'm not sure what they're doing...?

@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_parameters branch 3 times, most recently from a514ec0 to f48ac97 Compare September 17, 2024 10:49
… parameter sets. These parameter values are associated with the set that fixes b = 0.25 and sigma_squared = 1.67, as recommended by Michael White.

These parameters are selected in the get_parameters() function by specifying parasite == "falciparum" or "vivax". The functions then selects the parasite-specific values and combines then withe the non-parasite specific values.

In order to allow the vivax code to run without full functionality, we have included additional falciparum parameters in the vivax parameter set. These will be removed in the following stages.

Pv parameter draws have been added, with code to read them into the package.

Added tests to check parameters are behaving as expected.

A new vignette has been started to reflect the P. vivax additions that have been made.
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_parameters branch from f48ac97 to c3dc720 Compare September 17, 2024 10:53
@RJSheppard RJSheppard merged commit a5a6bc7 into dev Oct 1, 2024
4 checks passed
@RJSheppard RJSheppard deleted the vivax_competing_hazards_main_parameters branch October 1, 2024 14:18
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.

3 participants