Skip to main content
microPublication Biology logoLink to microPublication Biology
. 2023 Oct 2;2023:10.17912/micropub.biology.000991. doi: 10.17912/micropub.biology.000991

Easy C. elegans Worm Lifespan Plotting and Statistics with WLSplot

Blaise L Mariner 1,2, Jack Peterson 1, Jackson C Taylor 1, Alex T Achusim 1, Mark A McCormick 1,§
Reviewed by: Seung-Jae Lee
PMCID: PMC10580078  PMID: 37854099

Abstract

WLSplot is an R package used to easily analyze lifespan survival data, and display results graphically as a survival curve with useful labels and statistical information auto-generated from the data and added to the graph, within a single function. It is designed primarily with Caenorhabditis elegans lifespan data in mind initially but can easily be used for other types of survival data. The WLSplot GitHub repository provides a blank template spreadsheet to be used for collecting lifespan data, instructions on how to install and run WLSplot, and examples covering RNAi, Genotype, or Drug lifespan experimental set-ups. WLSplot can analyze and plot multiple experiments in bulk while correctly italicizing worm gene names and adding asterisks and p-values to the plot legend when a significantly different lifespan from the designated control lifespan is seen. This is returned as an editable scalable vector graphics (svg) file for each output, and WLSplot can also return the summary of the directly plotted data so that the researcher can do their own further manipulation, in addition to being able to edit the output svg files.


Figure 1. Example plot generated from WLSplot workflow.

Figure 1. Example plot generated from WLSplot workflow

Visualization of WLS_autoplot() features when plotting worm lifespan data with the WLSplot R package.

Description

Multiple genetic pathways have been found that can delay aging and extend lifespan of some aging model organisms by 10-fold, through pathways conserved to mammals (Ayyadevara et al., 2008; Tissenbaum & Guarente, 2002) . Interest in understanding aging using simple model organisms accelerated upon the finding of C. elegans mutants that drastically extend lifespan (Klass, 1983; Friedman & Johnson, 1988; C. Kenyon et al., 1993) . The foundation of the work done by researchers studying model organisms of aging such as the yeast S. cerevisiae and the worm C. elegans has brought the field to a deeper understanding of the aging process in humans, as exemplified by the genetic screens done to find aging pathways in both organisms (Ayyadevara et al., 2008; Gems & Partridge, 2013; C. J. Kenyon, 2010; McCormick & Promislow, 2017; Smith et al., 2008; Tissenbaum & Guarente, 2002) .

Research into model organisms has shown that many mutations can impact lifespan (Derisbourg et al., 2021; Lithgow & Walker, 2002; McCormick et al., 2015) . The aging field is moving rapidly to automate worm lifespan measurement with robotics in an attempt to more deeply define aging pathways (Felker et al., 2020) . Worms have already been shown to have conserved aging pathways to Drosophila and mammals (Guarente & Kenyon, 2000; Smith et al., 2008; Martin-Montalvo et al., 2013) . Data are traditionally collected through the manual prodding of organisms and each day the researcher records how many organisms are alive, dead, or censored (often worms that are missing, bagged or exploded are censored) on a data collection spreadsheet. Upon the completion of a lifespan, the data is then plotted using Kaplan-Meier survival curves (Kaplan & Meier, 1958) . Statistical significance is commonly calculated by using the Wilcoxon Rank-Sum test (Wilcoxon, 1946) .

The W orm L ife s pan plot (WLSplot) github package v1.0 (https://github.com/labmccormick/WLSplot) has the ability to automate the Kaplan-Meier survival curve plotting and Wilcoxon Rank-Sum statistic calculations from worm lifespans. WLSplot uses R (currently R v 4.3.1), a programming language with growing popularity in the life and data sciences (Dalgaard et al., 2010) . WLSplot’s main function, WLS_autoplot(), takes lifespan data from the datasheet (WLSplot provides a blank sample spreadsheet) containing the experimental data and saves the plot out with the experimental variables automatically integrated ( Figure 1 ). The title is automatically the directory in which the lifespan datasheets exist. The mean lifespan, n, and associated p-values in comparison to the control are automatically integrated into the legend, while WLSplot attempts to automatically identify C. elegans gene names for automatic correct italicization. A caption that describes the p-values of the asterisk annotations on the plot. The caption can also credit the researchers who collected the lifespan data by initials and records the temperature of the lifespan. The user has the ability to easily change the colors of the conditions plotted as well. Lastly, WLS_autoplot() has the ability to batch process multiple daughter directories if the researchers have several lifespans that need to be analyzed at once.

WLS_autoplot() has the ability to write-out the plotted data used to generate the Kaplan-Meier survival curve svg, or just return the data without writing the data out to a flat file. WLS_autoplot() can also automatically output individual plots of each condition that shows significantly changed lifespan in comparison to the control, for easy visualization of these specific individual conditions, without changing the color of the line in comparison to the original lifespan plot. All plots are saved as editable svg vector graphics files, using the svglite R library. This file type has great advantages: a vector graphics editing program such as the free and open source Inkscape can be used to modify individual text and graphical elements of the plot by hand as needed ( Inkscape Project , 2020).

To get started, the new user must install R as well as the WLSplot R package and any of its R package dependencies that are not already installed, as outlined in detail on the main page of the github repository and in the linked video tutorials. Once installed, there are several examples provided that show how the user can analyze RNAi, mutant, drug, or other treatment styles of lifespan experiments. WLSplot also contains two other functions that may be useful for researchers in processing worm lifespan data. WLSplot can import data from comma-separated values (csv), OpenDocument spreadsheet (ods), or Excel (xlsx) files, and example files as well as blank lifespan scoring template files are provided for all of these formats. First, WLS_convert_counts() provides researchers the ability to easily convert and annotate basic lifespan spreadsheets to flattened files containing the data that then can be used to plot the desired Kaplan-Meier survival curves. Second, WLS_manualplot() gives the user the ability to pass in processed data for more specific control of details such as the plot title, x-axis limits, and line colors.

Previously published C. elegans lifespan software includes OASIS and OASIS 2, which offer survival-curve plotting ability allowing users to upload their spreadsheets with a user-friendly web interface (Han et al., 2016; Yang et al., 2011) . OASIS 2 also includes the option to calculate statistics inquiring into the differences in maximum lifespan between samples. SurvCurv is another previously published method of lifespan plotting, that has a user-friendly web interface that takes user-uploaded data and produces plots of these data (Ziehm et al., 2015) . SurvCurv is also a database, where users can upload, store, and share their lifespan analyses. WLSplot supplements these two tools, but breaks new ground by plotting survival curves from one or multiple experiments quickly, by-passing the need for the experimenter to handle and upload data files to a web browser, and implementing these features in provided open source R code that might allow easy additional customization by users so inclined.

WLSplot was written for biologists to automate their lifespan plotting and limit their need to work within a spreadsheet, allowing these researchers to increase their time at the bench. WLSplot is not limited to worm lifespan assays, and can be used for other physiological assays that result in survival curves, such as thermotolerance, oxidative stress assays, and survival on pathogens (Park et al., 2017) . WLSplot will aid researchers in quickly analyzing data that is to be plotted on a survival curve.

Extended Data

Description: software Package WLSplotv1.0. Resource Type: Software. DOI: 10.22002/ke80f-8ac39

Acknowledgments

Acknowledgments

We thank Brendan Sanders and Izabelle Chavez for help in testing WLSplot.

Funding Statement

This study was supported by NIH 5P20GM121176, NIH R01AG07077601, a Longevity Impetus Grant, a Glenn Foundation for Medical Research / American Federation for Aging Research Junior Investigator Grant, an American Federation for Aging Research Reboot Award, a UNM SOM RAC New Investigator Award, and a Japan Agency for Medical Research and Development / New York Academy of Sciences Longevity Interstellar Initiative Award, to MM.

References

  1. Ayyadevara S, Alla R, Thaden JJ, Shmookler Reis RJ. Remarkable longevity and stress resistance of nematode PI3K-null mutants. Aging Cell. 2007 Nov 7;7(1):13–22. doi: 10.1111/j.1474-9726.2007.00348.x. [DOI] [PubMed] [Google Scholar]
  2. Dalgaard, P. (Producer), R Development Core Team. 2010. R: A language and environment for statistical computing. Computer programme http://www.R-project.org/
  3. Derisbourg MJ, Wester LE, Baddi R, Denzel MS. Mutagenesis screen uncovers lifespan extension through integrated stress response inhibition without reduced mRNA translation. Nat Commun. 2021 Mar 15;12(1):1678–1678. doi: 10.1038/s41467-021-21743-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Felker DP, Robbins CE, McCormick MA. Automation of C. elegans lifespan measurement. Transl Med Aging. 2019 Dec 7;4:1–10. [PMC free article] [PubMed] [Google Scholar]
  5. Guarente L, Kenyon C. Genetic pathways that regulate ageing in model organisms. Nature. 2000 Nov 9;408(6809):255–262. doi: 10.1038/35041700. [DOI] [PubMed] [Google Scholar]
  6. Han SK, Lee D, Lee H, Kim D, Son HG, Yang JS, Lee SV, Kim S. OASIS 2: online application for survival analysis 2 with features for the analysis of maximal lifespan and healthspan in aging research. Oncotarget. 2016 Aug 30;7(35):56147–56152. doi: 10.18632/oncotarget.11269. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Kaplan E. L., Meier Paul. Nonparametric Estimation from Incomplete Observations. Journal of the American Statistical Association. 1958 Jun 1;53(282):457–481. doi: 10.1080/01621459.1958.10501452. [DOI] [Google Scholar]
  8. Kenyon C, Chang J, Gensch E, Rudner A, Tabtiang R. A C. elegans mutant that lives twice as long as wild type. Nature. 1993 Dec 2;366(6454):461–464. doi: 10.1038/366461a0. [DOI] [PubMed] [Google Scholar]
  9. Klass MR. A method for the isolation of longevity mutants in the nematode Caenorhabditis elegans and initial results. Mech Ageing Dev. 1983 Aug 1;22(3-4):279–286. doi: 10.1016/0047-6374(83)90082-9. [DOI] [PubMed] [Google Scholar]
  10. Lithgow GJ, Walker GA. Stress resistance as a determinate of C. elegans lifespan. Mech Ageing Dev. 2002 Apr 1;123(7):765–771. doi: 10.1016/s0047-6374(01)00422-5. [DOI] [PubMed] [Google Scholar]
  11. Martin-Montalvo A, Mercken EM, Mitchell SJ, Palacios HH, Mote PL, Scheibye-Knudsen M, Gomes AP, Ward TM, Minor RK, Blouin MJ, Schwab M, Pollak M, Zhang Y, Yu Y, Becker KG, Bohr VA, Ingram DK, Sinclair DA, Wolf NS, Spindler SR, Bernier M, de Cabo R. Metformin improves healthspan and lifespan in mice. Nat Commun. 2013;4:2192–2192. doi: 10.1038/ncomms3192. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. McCormick MA, Delaney JR, Tsuchiya M, Tsuchiyama S, Shemorry A, Sim S, Chou AC, Ahmed U, Carr D, Murakami CJ, Schleit J, Sutphin GL, Wasko BM, Bennett CF, Wang AM, Olsen B, Beyer RP, Bammler TK, Prunkard D, Johnson SC, Pennypacker JK, An E, Anies A, Castanza AS, Choi E, Dang N, Enerio S, Fletcher M, Fox L, Goswami S, Higgins SA, Holmberg MA, Hu D, Hui J, Jelic M, Jeong KS, Johnston E, Kerr EO, Kim J, Kim D, Kirkland K, Klum S, Kotireddy S, Liao E, Lim M, Lin MS, Lo WC, Lockshon D, Miller HA, Moller RM, Muller B, Oakes J, Pak DN, Peng ZJ, Pham KM, Pollard TG, Pradeep P, Pruett D, Rai D, Robison B, Rodriguez AA, Ros B, Sage M, Singh MK, Smith ED, Snead K, Solanky A, Spector BL, Steffen KK, Tchao BN, Ting MK, Vander Wende H, Wang D, Welton KL, Westman EA, Brem RB, Liu XG, Suh Y, Zhou Z, Kaeberlein M, Kennedy BK. A Comprehensive Analysis of Replicative Lifespan in 4,698 Single-Gene Deletion Strains Uncovers Conserved Mechanisms of Aging. Cell Metab. 2015 Oct 8;22(5):895–906. doi: 10.1016/j.cmet.2015.09.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Park HH, Jung Y, Lee SV. Survival assays using Caenorhabditis elegans . . Mol Cells. 2017 Feb 27;40(2):90–99. doi: 10.14348/molcells.2017.0017. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Smith ED, Tsuchiya M, Fox LA, Dang N, Hu D, Kerr EO, Johnston ED, Tchao BN, Pak DN, Welton KL, Promislow DE, Thomas JH, Kaeberlein M, Kennedy BK. Quantitative evidence for conserved longevity pathways between divergent eukaryotic species. Genome Res. 2008 Mar 13;18(4):564–570. doi: 10.1101/gr.074724.107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Tissenbaum HA, Guarente L. Model organisms as a guide to mammalian aging. Dev Cell. 2002 Jan 1;2(1):9–19. doi: 10.1016/s1534-5807(01)00098-3. [DOI] [PubMed] [Google Scholar]
  16. WILCOXON F. Individual comparisons of grouped data by ranking methods. J Econ Entomol. 1946 Apr 1;39:269–269. doi: 10.1093/jee/39.2.269. [DOI] [PubMed] [Google Scholar]
  17. Yang JS, Nam HJ, Seo M, Han SK, Choi Y, Nam HG, Lee SJ, Kim S. OASIS: online application for the survival analysis of lifespan assays performed in aging research. PLoS One. 2011 Aug 15;6(8):e23525–e23525. doi: 10.1371/journal.pone.0023525. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Ziehm M, Ivanov DK, Bhat A, Partridge L, Thornton JM. SurvCurv database and online survival analysis platform update. Bioinformatics. 2015 Aug 6;31(23):3878–3880. doi: 10.1093/bioinformatics/btv463. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from microPublication Biology are provided here courtesy of California Institute of Technology

RESOURCES