ggbulksurv: An R package for easy Drosophila and C. elegans survival analysis

MicroPubl Biol. 2024 May 3:2024:10.17912/micropub.biology.001060. doi: 10.17912/micropub.biology.001060. eCollection 2024.

Abstract

Lifespan studies on fast-aging model organisms like C.elegans and D.melanogaster are conducted with multiple organisms per vial. Lifespan data results in a "one row, multiple individuals" format, which is incompatible with R packages that require a "one row, one individual" format. We present ggbulksurv , an R package for user-friendly survival analysis and highlight three key features. (1) pivot_prism converts data for PRISM, allowing biologists to plot survival curves without manually expanding each observation. (2) run_bulksurv() takes in a "one row, multiple individuals" table and plots a customizable survival curve. (3) Advanced users who require custom survival objects can specify a custom formula, facilitating complex survival analysis. We provide a time saving solution for lifespan data analysis.

Grants and funding

This work was supported by Ministry of Education, National University of Singapore and Yale-NUS College (through Reimagine Research Grant IG20-RRSG-001).