Abstract
serosim is an open source R package designed to aid inference of serological surveys, by simulating data arising from user-specified vaccine and infection-generated antibody kinetics processes using a random effects model. Serological surveys are used to assess population immunity by directly measuring individuals’ antibody titers. They uncover locations and/or populations which are susceptible and provide evidence of past infection or vaccination to help inform public health measures and surveillance. Both serological surveys and new analytical techniques used to interpret them are increasingly widespread. This expansion creates a need for tools to simulate serological surveys and the processes underlying the observed titer values, as this will enable researchers to identify best practices for serological survey design, and provide a standardized framework to evaluate the performance of different inference methods. serosim allows users to specify and adjust model inputs representing underlying processes responsible for generating the observed titer values like time-varying patterns of infection and vaccination, population demography, immunity and antibody kinetics, and serological survey sampling design in order to best represent the population and disease system(s) of interest. This package will be useful for planning sampling design of future serological surveys, understanding determinants of observed serological data, and validating the accuracy and power of new statistical methods.
Author Summary Public health researchers use serological surveys to obtain serum samples from individuals and measure antibody levels against one or more pathogens. When paired with appropriate analytical methods, these surveys can be used to determine whether individuals have been previously infected with or vaccinated against those pathogens. However, there is currently a lack of tools to simulate realistic serological survey data from the processes determining these observed antibody levels. We developed serosim, an open source R package which enables users to simulate serological survey data matching their disease system(s) of interest. This package allows users to specify and modify model inputs responsible for generating an individual’s antibody level at various levels, from the within-host processes to the observation process. serosim will be useful for designing more informative serological surveys, better understanding the processes behind observed serological data, and assessing new serological survey analytical methods.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
CJEM was supported by a Bill and Melinda Gates Foundation grant (INV-016091). CJEM gratefully acknowledges financial support from the Schmidt DataX Fund at Princeton University made possible through a major gift from the Schmidt Futures Foundation. JAH is funded by a Wellcome Trust Early Career Award (225001/Z/22/Z).
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.
Yes
Data Availability
All code, tutorials and documentation are made freely available under the GNU General Public License at https://github.com/AMenezes97/serosim. Commit 65c7163 was used at the time of submission.