This report describes a method involving an R script in the open-source software RStudio to analyze large-scale datasets obtained from time series experiments.
A subscription to JoVE is required to view this content. Sign in or start your free trial.
Method Article
This report describes a method involving an R script in the open-source software RStudio to analyze large-scale datasets obtained from time series experiments.
Large datasets are increasingly common in the scientific field. It is important to develop user-friendly tools to allow researchers to analyze these large datasets with ease. Here, we introduce a method involving an R script in the open-source software RStudio to analyze large-scale datasets obtained from time series experiments. This method requires minimal input from a user, allowing a beginner who does not have prior R knowledge or programming experience to use it. The detailed instructions described here and in the R script shall further guide users on how to use the method. The input data and the output results are stored in the same folder of a local computer, making it possible to do the analysis anywhere and anytime. The output results are organized into folders for easy interpretation, and they can be conveniently processed to generate figures for publications. This method has been successfully used to analyze circadian clock data and reactive oxygen species burst data, both containing large-scale datasets from time series experiments in a 96-well-plate format. We believe that this method provides a facile and powerful solution for researchers in analyzing similar large datasets obtained through time series experiments.
With the increased availability of large datasets in the scientific field, it is important to develop user-friendly tools to allow researchers to quickly analyze these large datasets with accuracy and ease. One type of the common large dataset comes from the use of the luciferase gene as a reporter, which has allowed an easy, continuous, and noninvasive examination of gene expression in live cells and organisms. Automation in luminescence recording has transformed the measurement of luciferase luminescence and led to an expansion of data collection, in particular, in the circadian clock field1,2. Using 96-well microplates and an automatic plate reader with a stacker, thousands of samples expressing the luciferase gene can be individually assayed in time series, sometimes at one-hour intervals for days, in one experiment. Such high-throughput experiments have resulted in the production of large datasets that traditional gene expression experiments using hand sample collection, followed by RNA processing, could not possibly achieve. Analyzing such large datasets in a timely manner is important but can be challenging.
Although there exists a plethora of tools to analyze data for rhythmicity, many of the tools analyze animal behavior-based assays rather than luminescence reporter expression3,4,5,6,7 (Supplemental Table S1). Some tools require researchers to have prior computer programming skills, such as Python skills or access to MATLAB. Other tools require the purchase of software, which can be costly. Some free workable solutions are available online. One such tool is BioDare28, which offers a variety of different methods to analyze rhythmicity data. BioDare2 is a user-friendly online tool and requires minimal computational expertise. Users need to upload data input online and download data output from the online interface for further processing.
Here, we present user-friendly R scripts with multiple capabilities for analyzing large-scale datasets with ease. We use the free, open-source software RStudio9, an interface for R and Python, to run the scripts. RStudio can be used on various computer systems, including Windows, Mac, and Linux. In this report, detailed stepwise instructions are provided to guide users on how to use the R scripts, specifically in protocol sections 1 and 2. This method requires minimal input from the user. A beginner who does not have prior R knowledge and who has no programming experience shall be able to use the method to analyze large datasets from luciferase assays or other types of datasets with time series data. All input and output data are stored on a local computer, and thus, an analysis can be done anywhere without the restriction of internet access, once all the relevant R packages are downloaded for the first time. The output data are sorted into well-organized folders with results ready to be processed for publications. Statistical analyses are also included as part of the output to provide a quick assessment of the differences among the samples. Thus, the R method could provide a facile and powerful solution for researchers in analyzing large datasets.
Access restricted. Please log in or start a trial to view this content.
1. Luciferase-based circadian clock analysis
2. Luminol-based ROS Assay
Access restricted. Please log in or start a trial to view this content.
Case study 1. The luminescence assay for circadian clock activity with Arabidopsis seedlings
We previously showed that the GLYCINE-RICH RNA-BINDING PROTEIN 7 (GRP7) gene was controlled by the master clock protein CIRCADIAN CLOCK-ASSOCIATED 1 (CCA1) and circadian expression of GRP7 is important for its role in plant defense, using transgenic Col-0 plants expressing the luciferase reporter under the control of the wildtype GRP7 promoter (p...
Access restricted. Please log in or start a trial to view this content.
We present here using R scripts in RStudio to provide a user-friendly method for analyzing large-scale data obtained from 96-well format time series experiments. This method has allowed us to quickly and easily analyze luminescence recording data obtained from thousands of samples in time series experiments to gauge the circadian clock activity from plant seedlings to mammalian cell cultures, in addition to data from ROS assays.
BioDare2 is a free repository that has been quite commonly used f...
Access restricted. Please log in or start a trial to view this content.
The authors have no conflicts of interest to disclose.
We thank the members of the Lu laboratory for their assistance in this work. We thank Min Gao and Matthew Fabian for the use of their unprocessed data and Benjamin Harris for assistance and/or guidance in making this R script. We thank John B. Hogenesch at Cincinnati Children's Hospital Medical Center for providing luminescence data from mammalian cells for Case study 2. We further thank John B. Hogenesch, Andrew Millar at The University of Edinburgh, and Mary Harrington at Smith College for helpful discussions during the development of this method. This work was partially supported by grants from the National Science Foundation, NSF 1456140 and NSF 2223886, to Hua Lu.
Access restricted. Please log in or start a trial to view this content.
| Name | Company | Catalog Number | Comments |
|---|---|---|---|
| R | The R Project | https://www.r-project.org/ | A free, open-source platform that can be downloaded from online and used to code, especially for statistics. |
| Rstudio | Posit Software | https://posit.co/download/rstudio-desktop/ | A free software that can be downloaded from online for more user-friendly access to R. |
| MetaCycle | Gang Wu, Xavier Li, Matthew Carlucci, Ron Anafi, Michael Hughes, Karl Kornacker, and John Hogenesch | https://cran.r-project.org/web/packages/MetaCycle/vignettes/implementation.html | The ARSER algorithm of the MetaCycle package is used to evaluate clock parameters, period, phase and amplitude. |
| ggplot2 | Posit Software | https://cran.r-project.org/web/packages/ggplot2/index.html | Creates data visualizations, particularly for statistical graphics. |
| dplyr | Posit Software | https://cran.r-project.org/web/packages/dplyr/index.html | A fundamental R library for efficient data manipulation. |
| magrittr | Posit Software | https://cran.r-project.org/web/packages/magrittr/index.html | Provides a set of operators to enhance code readability and facilitate a more natural flow of data operations. |
| stringr | Posit Software | https://cran.r-project.org/web/packages/stringr/index.html | Provides a consistent, simple, and easy-to-use set of functions for working with character strings. |
| filesstrings | Rory Nolan, and Sergi Padilla-Parra | https://cran.r-project.org/web/packages/filesstrings/index.html | Provides convenient functions for manipulating files and strings, particularly those related to file names and paths. |
| circular | Ulric Lund, Claudio Agostinelli, Hiroyoshi Arai, Alessando Gagliardi, Eduardo García-Portugués, Dimitri Giunchi, Jean-Olivier Irisson, Matthew Pocernich, and Federico Rotolo | https://cran.r-project.org/web/packages/circular/index.html | Provides the statistical analysis and graphics representation of circular data. |
| AICcmodavg | Marc J. Mazerolle | https://cran.r-project.org/web/packages/AICcmodavg/index.html | Creates model selection tables based on Akaike's information criterion (AIC) and related information. |
| broom | Posit Software | https://cran.r-project.org/web/packages/broom/index.html | Converts the output of various statistical models and objects into "tidy" tibbles (a modern data frame format), making it easier to work with, analyze, and visualize model results. |
| Autoclave machine | Steris Amsco Eagle Century SG120 Scientific, Inc. | 8901400012 | Autoclave media |
| Chemical fume hood | Lab Design & Supply | sterilize seeds | |
| Omega Luminescence Reader | BMG LABTECH, Inc. | plate reader | |
| Laminar flow cabinet | NuAire Nu-408FM-400 | Class II/TypeA | transfer seedlings to 96-well plate |
| 96-well microplates | Perkin-Elmer | OptiPlate-96 | grow seedlings for luciferase assay |
| Flg22 | GenScript Inc. | RP19986 | An elicitor from bacterial flagellin. |
| Elf26 | Alpha Diagnostic Intl. Inc. | 2427 | An elicitor from bacterial translation Elongation Factor-Tu. |
| D-Luciferin Firefly, potassium salt | Biosynth Chemistry & Biology | L-8220 | luciferase substrate |
| L-012 (Luminol) | Fisher Scientific | NC0733364 | ROS assay reagent |
Access restricted. Please log in or start a trial to view this content.