Tools to analyse human and mosquito behavioral interactions and to compute exposure to mosquito bites estimates. Using behavioral data for human individuals and biting patterns for mosquitoes, you will be able to compute hourly exposure for bed net users and non-users, and summarize (e.g. proportion indoors and outdoors, proportion per time periods, and proportion prevented by bed nets) or visualize these dynamics across a 24-hour cycle.
ExpBites is an R package to compute mosquito biting exposure based on hourly human and mosquito behavior. It is designed for entomological modeling and malaria vector control analysis, particularly in the context of insecticide-treated net (ITN) usage.
You can install the development version of ExpBites from GitHub:
# install.packages("devtools")
devtools::install_github("Nmoiroux/ExpBites")
Make sure you have the required dependencies:
install.packages(c("dplyr", "tidyr", "ggplot2", "Rdpack"))
library(ExpBites)
# Generate simulated human and mosquito data (for test purpose)
df <- gen_df_human(n_individuals = 100)
df_bites <- gen_df_mosquito()
# Calculate hourly exposure to mosquito bites
exp_result <- calculate_Exp(df, df_bites)
# Summarize exposure for entire day and a specific time window (e.g., 22h to 5h)
summary_tbl <- summarise_exposure(exp_result, interval = c(22, 5))
print(summary_tbl)
# Plot exposure patterns
plot_exposure(exp_result)
# Plot mosquito and human behavior patterns
plot_behaviors(exp_result)
This package builds upon and extends the models described in:
This package is released under the GPL-3 License.