Skip to content

danforthcenter/heritable-highCO2-response

Repository files navigation

Heritable response to high CO2

This repository contains the code to reproduce the results on the article

Links to Arabidopsis raw images:

Dataset 1: https://doi.org/10.5281/zenodo.7688927
Dataset 2: https://doi.org/10.5281/zenodo.7693935
Dataset 3: https://doi.org/10.5281/zenodo.7693946

Segmentation of individual plants

Instance segmentation labels for individual plants were obtained from the RGB images using the package Plant Segmentation with Graph Cuts. The region of interest for the images on each camera (tray containing 24 plants) was defined right around the edge of the tray on a single time point. The scale was set to 50% per side, which reduces the resolution to 25% of the original. All the Graph Cuts segmentation parameters were left as default.

Area and shape analysis

The plant segmentation file for each tray contains the labels for all the image time points in the form of a 3D Numpy array. For better compatibility with the PlantCV parallelization we process the labels file to generate a 2D array file per image time point using the script split_labels.py.

We analyze the cropped RGB images and the corresponding labels jointly using the PlantCV workflow in Analyze_from_labels_workflow.py. We obtain area and shape measurement per individual plant at all the different time points.

Data processing

We consolidate and process the resulting area data in R using the script ROL_r3_shape_plots.R. There we discard outlier data points that are outside of two standard deviations from the mean computed for each day.

Area analysis

First we used the script ChamberVariabilityfactors.R to calculate the chamber variability factors to perform batch correction and normalize the data in different rounds of growth. The input for the R script is AT_areas.tsv containting the area of individual plants as mentioned above. This step must be done before the other R scripts to generate the figures.

After performing the batch correction, we used the script Figure1C-D.R to generate the plant growth figures in Figure 1C and 1D of the manuscript.

To generate the plant growth figures for the mutants in Figure 5B and 5D, we used the script Figure5B-C.R

and finally we used the script Figure6F.R to generate the differential plant growth plots in Figure 6F of the manuscript.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published