diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..88cd915d65d1edaa4e2effa2746a452455ab6337 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +assays/1_experimental_setup/dataset/.gitkeep filter=lfs diff=lfs merge=lfs -text +assays/1_experimental_setup/dataset/randomization.csv filter=lfs diff=lfs merge=lfs -text +assays/2_growth_monitoring/dataset/.gitkeep filter=lfs diff=lfs merge=lfs -text +assays/2_growth_monitoring/dataset/time_series.csv filter=lfs diff=lfs merge=lfs -text +assays/3_destructive_sampling/dataset/.gitkeep filter=lfs diff=lfs merge=lfs -text +assays/3_destructive_sampling/dataset/pheno_data.csv filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..41945a10c3a11919bf6647d1faba8b85824f51cd --- /dev/null +++ b/.gitignore @@ -0,0 +1,56 @@ +# ----- macos rules ----- +# taken from https://github.com/github/gitignore/blob/main/Global/macOS.gitignore +# General +.DS_Store +.AppleDouble +.LSOverride +# Icon must end with two \r +Icon +# Thumbnails +._* +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk +# ----- windows rules ----- +# taken from https://github.com/github/gitignore/blob/main/Global/Windows.gitignore +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db +# Dump file +*.stackdump +# Folder config file +[Dd]esktop.ini +# Recycle Bin used on file shares +$RECYCLE.BIN/ +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp +# Windows shortcuts +*.lnk +# ----- linux rules ----- +# taken from https://github.com/github/gitignore/blob/main/Global/Linux.gitignore +*~ +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* +# KDE directory preferences +.directory +# Linux trash folder which might appear on any partition or disk +.Trash-* +# .nfs files are created when an open file is removed but is still being accessed +.nfs* diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..1625c1793607996fcfc46420e8aa2f3d2b7efd1e --- /dev/null +++ b/LICENSE @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7075798fd7ee62c7672d2cb495c8ade1c7be4dde --- /dev/null +++ b/README.md @@ -0,0 +1,72 @@ +# **2025_mycorrhization_experiment** + +## This is the git repository for the publication: + +**An Ectomycorrhizal Fungus Alters Development Stages Within Pedunculate Oak’s Endogenous Growth Rhythm** + + + +## Authors & Affiliations: + +**Felix Zimmermann** (*Corresponding Author*; Research Unit Biodiversity and Conservation Biology, Swiss Federal Research Institute WSL, Birmensdorf, Switzerland; felix.zimmermann@wsl.ch; [ORCID: 0009-0002-0762-2454](https://orcid.org/0009-0002-0762-2454)) + +**Marie-Lara Bouffaud** (Department of Soil Ecology, Helmholtz Centre for Environmental Research - UFZ, Halle/Saale, Germany; [ORCID: 0000-0001-6112-2982](https://orcid.org/0000-0001-6112-2982)) + +**Sylvie Herrmann** (Department of Soil Ecology, Helmholtz Centre for Environmental Research - UFZ, Halle/Saale, Germany; [ORCID: 0000-0001-8220-3853](https://orcid.org/0000-0001-8220-3853)) + +**Marco Göttig** (Institute of Biology, Philipps University Marburg, Marburg, Germany) + +**René Graf** (Research Unit Biodiversity and Conservation Biology, Swiss Federal Research Institute WSL, Birmensdorf, Switzerland; [ORCID: 0009-0002-9567-9089](https://orcid.org/0009-0002-9567-9089)) + +**Mika Tarkka** (Department of Soil Ecology, Helmholtz Centre for Environmental Research - UFZ, Halle/Saale, Germany; [ORCID: 0000-0003-4630-351X](https://orcid.org/0000-0003-4630-351X)) + +**Lars Opgenoorth** (Laboratory of Plant Ecology and Geobotany, Institute of Biology, Philipps University Marburg, Marburg, Germany; [ORCID: 0000-0003-0737-047X](https://orcid.org/0000-0003-0737-047X)) + +**Daniel Croll** (Laboratory of Evolutionary Genetics, Institute of Biology, University of Neuchâtel, Neuchâtel, Switzerland; [ORCID: 0000-0002-2072-380X](https://orcid.org/0000-0002-2072-380X)) + +**Martina Peter** (Research Unit Biodiversity and Conservation Biology, Swiss Federal Research Institute WSL, Birmensdorf, Switzerland; [ORCID: 0000-0002-6365-6889](https://orcid.org/0000-0002-6365-6889)) + +**Benjamin Dauphin** (*Corresponding Author*; Research Unit Biodiversity and Conservation Biology, Swiss Federal Research Institute WSL, Birmensdorf, Switzerland; benjamin.dauphin@wsl.ch; [ORCID: 0000-0003-0982-4252](https://orcid.org/0000-0003-0982-4252)) + + +## Content: + +### Data: + +* Here you can find the [Phenotypic Data File](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/blob/main/assays/2_destructive_sampling/dataset/pheno_data.csv?ref_type=heads). +* Here you can find the [Timeseries Data File](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/blob/main/assays/1_growth_monitoring/dataset/time_series.csv?ref_type=heads). +* Here you can find the [Experimental Setup Data File](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/blob/main/assays/3_experimental_setup/dataset/randomization.csv?ref_type=heads). + +### Scripts: + +* Here you can find scripts for [Figure 1 / Phenotypic Data Analysis](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/blob/main/workflows/1_phenotypic_data_figure_1/figure1_phenotypicdata.R?ref_type=heads). +* Here you can find scripts for [Figure 2 / Timeseries Data Analysis](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/blob/main/workflows/2_timeseries_data_figure2/figure2_timeseries.R?ref_type=heads). +* Here you can find scripts for the [Supplementary Information Analysis](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/blob/main/workflows/3_additional_analyses_SI/SI.R?ref_type=heads). + +### Results: + +* Here you can find results of [Figure 1 / Phenotypic Data Analysis](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/tree/main/runs/1_phenotypic_data_figure1?ref_type=heads). +* Here you can find results of the [Figure 2 / Timeseries Data Analysis](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/tree/main/runs/2_timeseries_data_figure2?ref_type=heads). +* Here you can find results of the [Supplementary Information Analysis](https://git.nfdi4plants.org/felix.zimmermann/2025_mycorrhization_experiment/-/tree/main/runs/3_additional_analyses_SI?ref_type=heads). + + +## To use our code: + +1. Download/clone repository. + +2. Open the "2025_Myco_Experiment.Rproj" file with RStudio. + +3. Run scripts under "workflows" (you can find "workflows" under "Files" in the "Files/Plots/Packages etc." window). + + +## Citation: + + + +## Link to publication: + + + +## ARC DOI: + + diff --git a/assays/1_experimental_setup/README.md b/assays/1_experimental_setup/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/1_experimental_setup/dataset/.gitkeep b/assays/1_experimental_setup/dataset/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/1_experimental_setup/dataset/randomization.csv b/assays/1_experimental_setup/dataset/randomization.csv new file mode 100644 index 0000000000000000000000000000000000000000..d8073e45595c732050696d7d2860ef5e2e3ecaab --- /dev/null +++ b/assays/1_experimental_setup/dataset/randomization.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:215e894a81bbcf095c82e716dc6658c11f7f25e90f1fbed1193be18d2d66e449 +size 2738 diff --git a/assays/1_experimental_setup/isa.assay.xlsx b/assays/1_experimental_setup/isa.assay.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..9b7c5caa52d1d6e0e2a1f04547f17adef7a8a764 Binary files /dev/null and b/assays/1_experimental_setup/isa.assay.xlsx differ diff --git a/assays/1_experimental_setup/protocols/.gitkeep b/assays/1_experimental_setup/protocols/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/1_experimental_setup/protocols/experimental_setup_protocol.md b/assays/1_experimental_setup/protocols/experimental_setup_protocol.md new file mode 100644 index 0000000000000000000000000000000000000000..6be19b530babaed91a2786ed199204512e1356c9 --- /dev/null +++ b/assays/1_experimental_setup/protocols/experimental_setup_protocol.md @@ -0,0 +1,19 @@ +**Experimental Setup Protocol** + +We micropropagated and rooted the pedunculate oak (*Quercus robur* L.) clone DF159 according to Herrmann et al. (1998). In brief, we alternatively used micro-cuttings of axillary and apical buds to maintain the endogenous growth rhythm of oak plants (Herrmann et al., 2016). After micropropagation under sterile conditions in glass vessels, we transferred individual cuttings to sterile glass tubes containing active charcoal medium for in vitro rooting. We performed both the micropropagation and in vitro rooting at 24°C, 50% air humidity, and under long-day conditions (16h of light per day) with a photosynthetic photon flux density of 90-100 µmol m-2â‹…s-1. +After plant production, we prepared the experimental culture system according to Tarkka et al. (2013). In short, soil from an oak forest in the Harz mountains, Saxony Anhalt, Germany (51.400972, 11.125389) from the A0 (humus, 0-10 cm) and A1/A2 (organic, 10–30 cm) horizons was sieved at 2 mm and sterilized at Synergy Health Däniken AG (Däniken, Switzerland) using γ-irradiation with a dosage of 70–90 kGy. We cultivated *P. croceum* strain F1598 (ATCC MYA-4870; Herrmann et al., 1998, 2015) and *C. geophilum strain* 1.58 (CBS 143616; Peter et al., 2016) on Melin Norkrans Modified (MMN; Marx, 1969) agar medium in darkness at 20°C (Herrmann et al., 1998). From the plate cultures, we prepared MMN liquid cultures. Finally, we transferred the liquid cultures onto 10:1 (v/v) mixtures of vermiculite and peat (autoclaved three times) and incubated them in darkness at 20°C for four weeks. +Next, we applied four treatments on the clone after plant randomization by development stage, rooting date, and stem length; the control treatment, the *C. geophilum* treatment, the *P. croceum* treatment, and the co-inoculation treatment. Finally, we planted the oaks in 12×12 cm2 squared Petri dishes (roots grown inside, shoots grown outside the Petri dishes), assessed the initial weight and sealed the dishes with parafilm. In total, we prepared two sets of 48 plants each (with 12 plants per treatment, Fig. 1a), with the second set being produced three weeks after the first set. We then grew the plants in a growth chamber at 20–22°C, 80–90% air humidity, and with 16h of light as previously described. + + +**References:** + +Herrmann, S., Grams, T. E. E., Tarkka, M. T., Angay, O., Bacht, M., Bönn, M., Feldhahn, L., Graf, M., Kurth, F., Maboreke, H., Mailander, S., Recht, S., Fleischmann, F., Ruess, L., Schädler, M., Scheu, S., Schrey, S., & Buscot, F. (2016). Endogenous rhythmic growth, a trait suitable for the study of interplays between multitrophic interactions and tree development. Perspectives in Plant Ecology, Evolution and Systematics, 19, 40–48. https://doi.org/10.1016/j.ppees.2016.02.003 + +Herrmann, S., Munch, J. â€C., & Buscot, F. (1998). A gnotobiotic culture system with oak microcuttings to study specific effects of mycobionts on plant morphology before, and in the early phase of, ectomycorrhiza formation by Paxillus involutus and Piloderma croceum. New Phytologist, 138(2), 203–212. https://doi.org/10.1046/j.1469-8137.1998.00105.x + +Marx, D. H. (1969). The influence of ectotrophic mycorrhizal fungi on the resistance of pine roots to pathogenic infections. II. Production, identification, and biological activity of antibiotics produced by Leucopaxillus cerealis var. Piceina. Phytopathology, 59(4), 411–417. + +Peter, M., Kohler, A., Ohm, R. A., Kuo, A., Krützmann, J., Morin, E., Arend, M., Barry, K. W., Binder, M., Choi, C., Clum, A., Copeland, A., Grisel, N., Haridas, S., Kipfer, T., LaButti, K., Lindquist, E., Lipzen, A., Maire, R., … Martin, F. M. (2016). Ectomycorrhizal ecology is imprinted in the genome of the dominant symbiotic fungus Cenococcum geophilum. Nature Communications, 7(1), 12662. https://doi.org/10.1038/ncomms12662 + +Tarkka, M. T., Herrmann, S., Wubet, T., Feldhahn, L., Recht, S., Kurth, F., Mailänder, S., Bönn, M., Neef, M., Angay, O., Bacht, M., Graf, M., Maboreke, H., Fleischmann, F., Grams, T. E. E., Ruess, L., Schädler, M., Brandl, R., Scheu, S., … Buscot, F. (2013). OakContig DF 159.1, a reference library for studying differential gene expression in Quercus robur during controlled biotic interactions: Use for quantitative transcriptomic profiling of oak roots in ectomycorrhizal symbiosis. New Phytologist, 199(2), 529–540. https://doi.org/10.1111/nph.12317 + diff --git a/assays/2_growth_monitoring/README.md b/assays/2_growth_monitoring/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/2_growth_monitoring/dataset/.gitkeep b/assays/2_growth_monitoring/dataset/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/2_growth_monitoring/dataset/time_series.csv b/assays/2_growth_monitoring/dataset/time_series.csv new file mode 100644 index 0000000000000000000000000000000000000000..b57382fee8f81ef181d537a2cfd839222c2ed2a0 --- /dev/null +++ b/assays/2_growth_monitoring/dataset/time_series.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3e2e78582650d91bfbaa607cad13e37b44a3465cbc57ae3c051fe22da600e18 +size 83281 diff --git a/assays/2_growth_monitoring/isa.assay.xlsx b/assays/2_growth_monitoring/isa.assay.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..56e6a978bc872418afecec516e8b6126ddfa95a0 Binary files /dev/null and b/assays/2_growth_monitoring/isa.assay.xlsx differ diff --git a/assays/2_growth_monitoring/protocols/.gitkeep b/assays/2_growth_monitoring/protocols/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/2_growth_monitoring/protocols/growth_monitoring_protocol.md b/assays/2_growth_monitoring/protocols/growth_monitoring_protocol.md new file mode 100644 index 0000000000000000000000000000000000000000..4956c36c6ba7f295b735952c2678ee4a513d639a --- /dev/null +++ b/assays/2_growth_monitoring/protocols/growth_monitoring_protocol.md @@ -0,0 +1,7 @@ +**Growth Monitoring Protocol** + +Day 1 of the experiment is defined as the first day after a four-week acclimatization period in protective plastic bags. Throughout eight weeks of the experiment, we assessed the development stages of the plants twice a week according to Herrmann et al. (2015). In short, *Q. robur* growth is characterized by the succession of developmental stages A (bud rest) and B (bud swelling), corresponding to the root flush of a growth cycle, followed by stages C (shoot elongation) and D (leaf expansion), corresponding to the shoot flush. We weighed the plants weekly and replenished any weight loss with sterilized tap water to maintain optimal growth conditions at a soil water content of 12-15%. + +**References:** + +Herrmann, S., Recht, S., Boenn, M., Feldhahn, L., Angay, O., Fleischmann, F., Tarkka, M. T., Grams, T. E. E., & Buscot, F. (2015). Endogenous rhythmic growth in oak trees is regulated by internal clocks rather than resource availability. Journal of Experimental Botany, 66(22), 7113–7127. https://doi.org/10.1093/jxb/erv408 \ No newline at end of file diff --git a/assays/3_destructive_sampling/README.md b/assays/3_destructive_sampling/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/3_destructive_sampling/dataset/.gitkeep b/assays/3_destructive_sampling/dataset/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/3_destructive_sampling/dataset/pheno_data.csv b/assays/3_destructive_sampling/dataset/pheno_data.csv new file mode 100644 index 0000000000000000000000000000000000000000..d6855dd19f0704c7ecddb0bd9ee1d2134b448dde --- /dev/null +++ b/assays/3_destructive_sampling/dataset/pheno_data.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:448b72c7eebae66ba85972ec78f9aa95a4d40dc64e794c248a83b8ae33a4bc70 +size 24577 diff --git a/assays/3_destructive_sampling/isa.assay.xlsx b/assays/3_destructive_sampling/isa.assay.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..9f78027d034f38082c032a2096adc8f6225c7b8f Binary files /dev/null and b/assays/3_destructive_sampling/isa.assay.xlsx differ diff --git a/assays/3_destructive_sampling/protocols/.gitkeep b/assays/3_destructive_sampling/protocols/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/assays/3_destructive_sampling/protocols/destructive_sampling_protocol.md b/assays/3_destructive_sampling/protocols/destructive_sampling_protocol.md new file mode 100644 index 0000000000000000000000000000000000000000..cb79b1b21d4be78b5f7777aa9fa7c1b344db1817 --- /dev/null +++ b/assays/3_destructive_sampling/protocols/destructive_sampling_protocol.md @@ -0,0 +1,3 @@ +**Destructive Sampling Protocol** + +After 64 days (set one) and 58 days (set two) of cultivation, we sampled all above- and belowground parts of the plants destructively (Table S2). We measured total plant biomass, followed by a separate weighing of above and below ground plant parts. We further divided above ground biomass into stem, leaves from the newest shoot flush, leaves from the second newest shoot flush, remaining leaves, and buds. We counted leaves from the last two shoot flushes and scanned them using an EPSON Perfection V700 Photo scanner (SEIKO Epson CORPORATION, Tokyo, Japan) to determine leave area. The root system was scanned with the same EPSON Perfection V700 Photo scanner and analyzed with WinRhizo 2003b (Regent Instruments, Québec, Canada) to quantify root parameters (total root length, total root surface area, average root diameter, total root volume, number of root tips, number of root forks, number of root crossings, length of fine roots (0–1mm diameter), surface area of fine roots (0–1 mm diameter), and volume of fine roots (0–1mm diameter)). We separated and weighed principal and lateral roots (the latter defined as diverging more than 1 cm from the principal roots). To assess mycorrhization rate, we examined root tips from ~10% of the lateral roots for colonization by *C. geophilum* and *P. croceum* versus non-mycorrhized tips. Finally, we dried all plant materials at 55°C for two weeks and measured dry weights. \ No newline at end of file diff --git a/runs/1_phenotypic_data_figure1/Figure1.pdf b/runs/1_phenotypic_data_figure1/Figure1.pdf new file mode 100644 index 0000000000000000000000000000000000000000..7b775f623e7914c957060958b3fa9b131a800360 Binary files /dev/null and b/runs/1_phenotypic_data_figure1/Figure1.pdf differ diff --git a/runs/1_phenotypic_data_figure1/Figure1_session_info.txt b/runs/1_phenotypic_data_figure1/Figure1_session_info.txt new file mode 100644 index 0000000000000000000000000000000000000000..64b307e0db58bd2b04fcdf6ddc5656d1c847c3b6 --- /dev/null +++ b/runs/1_phenotypic_data_figure1/Figure1_session_info.txt @@ -0,0 +1,35 @@ +R version 4.4.1 (2024-06-14) +Platform: aarch64-apple-darwin20 +Running under: macOS Sonoma 14.6.1 + +Matrix products: default +BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib +LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0 + +locale: +[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 + +time zone: Europe/Zurich +tzcode source: internal + +attached base packages: +[1] grid stats graphics grDevices utils datasets methods base + +other attached packages: + [1] patchwork_1.2.0 ggbeeswarm_0.7.2 emmeans_1.10.4 MASS_7.3-61 rstatix_0.7.2 + [6] psych_2.4.12 ggpubr_0.6.0 magick_2.8.5 viridis_0.6.5 viridisLite_0.4.2 +[11] lubridate_1.9.3 forcats_1.0.0 stringr_1.5.1 dplyr_1.1.4 purrr_1.0.2 +[16] readr_2.1.5 tidyr_1.3.1 tibble_3.2.1 ggplot2_3.5.1 tidyverse_2.0.0 + +loaded via a namespace (and not attached): + [1] beeswarm_0.4.0 gtable_0.3.5 lattice_0.22-6 tzdb_0.4.0 vctrs_0.6.5 + [6] tools_4.4.1 generics_0.1.3 parallel_4.4.1 sandwich_3.1-0 fansi_1.0.6 +[11] pkgconfig_2.0.3 Matrix_1.7-0 lifecycle_1.0.4 compiler_4.4.1 munsell_0.5.1 +[16] mnormt_2.1.1 codetools_0.2-20 carData_3.0-5 vipor_0.4.7 pillar_1.9.0 +[21] car_3.1-2 abind_1.4-5 multcomp_1.4-26 nlme_3.1-166 tidyselect_1.2.1 +[26] mvtnorm_1.3-1 stringi_1.8.4 splines_4.4.1 colorspace_2.1-1 cli_3.6.3 +[31] magrittr_2.0.3 survival_3.7-0 utf8_1.2.4 broom_1.0.6 TH.data_1.1-2 +[36] withr_3.0.1 scales_1.3.0 backports_1.5.0 timechange_0.3.0 estimability_1.5.1 +[41] gridExtra_2.3 ggsignif_0.6.4 zoo_1.8-12 hms_1.1.3 coda_0.19-4.1 +[46] rlang_1.1.4 Rcpp_1.0.13 xtable_1.8-4 glue_1.8.0 rstudioapi_0.16.0 +[51] R6_2.5.1 diff --git a/runs/1_phenotypic_data_figure1/above_below_ground_wilcoxon.csv b/runs/1_phenotypic_data_figure1/above_below_ground_wilcoxon.csv new file mode 100644 index 0000000000000000000000000000000000000000..a501ca5d5cb18e6c39a79686dabe309d1647d0f2 --- /dev/null +++ b/runs/1_phenotypic_data_figure1/above_below_ground_wilcoxon.csv @@ -0,0 +1,13 @@ +".y.","group1","group2","n1","n2","statistic","p","p.adj","p.adj.signif","Part" +"DW_Shoot","Control","Pilo",19,21,142,0.124,0.124,"ns","Shoot" +"DW_Shoot","Control","Ceno",19,24,328,0.015,0.03,"*","Shoot" +"DW_Shoot","Control","Co_Inoc",19,23,282,0.112,0.124,"ns","Shoot" +"DW_Shoot","Pilo","Ceno",21,24,479,2.56e-07,1.536e-06,"****","Shoot" +"DW_Shoot","Pilo","Co_Inoc",21,23,400,0.000103,0.000309,"***","Shoot" +"DW_Shoot","Ceno","Co_Inoc",24,23,201,0.113,0.124,"ns","Shoot" +"DW_Roots_Total","Control","Pilo",19,21,115.5,0.024,0.048,"*","Root" +"DW_Roots_Total","Control","Ceno",19,24,291,0.127,0.1905,"ns","Root" +"DW_Roots_Total","Control","Co_Inoc",19,23,246,0.495,0.594,"ns","Root" +"DW_Roots_Total","Pilo","Ceno",21,24,430.5,5.13e-05,0.0003078,"***","Root" +"DW_Roots_Total","Pilo","Co_Inoc",21,23,373,0.002,0.006,"**","Root" +"DW_Roots_Total","Ceno","Co_Inoc",24,23,252,0.62,0.62,"ns","Root" diff --git a/runs/1_phenotypic_data_figure1/dw_plant_wilcoxon.csv b/runs/1_phenotypic_data_figure1/dw_plant_wilcoxon.csv new file mode 100644 index 0000000000000000000000000000000000000000..c9320b98dfd3152c09d6297839603b055a453062 --- /dev/null +++ b/runs/1_phenotypic_data_figure1/dw_plant_wilcoxon.csv @@ -0,0 +1,7 @@ +"group1","group2","n1","n2","statistic","p","p.adj","p.adj.signif" +"Ceno","Co_Inoc",24,23,211,0.171,0.2052,"ns" +"Ceno","Control",24,19,132,0.018,0.036,"*" +"Ceno","Pilo",24,21,69,1.01e-05,6.06e-05,"****" +"Co_Inoc","Control",23,19,175,0.28,0.28,"ns" +"Co_Inoc","Pilo",23,21,100,0.000626,0.001878,"**" +"Control","Pilo",19,21,127,0.05,0.075,"ns" diff --git a/runs/1_phenotypic_data_figure1/emm_resource_allocation.csv b/runs/1_phenotypic_data_figure1/emm_resource_allocation.csv new file mode 100644 index 0000000000000000000000000000000000000000..26b91539f3317333bc67fa8150811ad785fb6e44 --- /dev/null +++ b/runs/1_phenotypic_data_figure1/emm_resource_allocation.csv @@ -0,0 +1,9 @@ +"Treatment","response","SE","df","lower.CL","upper.CL","Part" +"Control",0.453567514597558,0.0275055266994483,82,0.383318509711376,0.52381651948374,"Shoot" +"Pilo",0.47366276586997,0.0291267922686154,82,0.399273055221825,0.548052476518115,"Shoot" +"Ceno",0.351858330159944,0.0256275976469571,82,0.286405548542847,0.41731111177704,"Shoot" +"Co_Inoc",0.395743444153842,0.0253353168124786,82,0.331037146615882,0.460449741691802,"Shoot" +"Control",0.332049163229227,0.0261926790038616,82,0.265153166092717,0.398945160365736,"Roots" +"Pilo",0.385646437453976,0.0277365610424506,82,0.314807371782272,0.456485503125679,"Roots" +"Ceno",0.323345119635379,0.0244043841131146,82,0.261016420478317,0.385673818792442,"Roots" +"Co_Inoc",0.337522080037482,0.0241260539375056,82,0.27590423503275,0.399139925042215,"Roots" diff --git a/runs/1_phenotypic_data_figure1/pairwise_comparison_resource_allocation.csv b/runs/1_phenotypic_data_figure1/pairwise_comparison_resource_allocation.csv new file mode 100644 index 0000000000000000000000000000000000000000..586bee92586a6370eacc6bfa7fadd7ca3fc1d0d6 --- /dev/null +++ b/runs/1_phenotypic_data_figure1/pairwise_comparison_resource_allocation.csv @@ -0,0 +1,13 @@ +"contrast","estimate","SE","df","t.ratio","p.value","Part" +"Control - Pilo",-0.0200952512724119,0.0399122214934747,82,-0.503486163397278,0.615972401884668,"Shoot" +"Control - Ceno",0.101709184437615,0.0376885469832781,82,2.69867619154279,0.0253534911944604,"Shoot" +"Control - Co_Inoc",0.0578240704437162,0.0374470841340624,82,1.54415415194153,0.189602536279991,"Shoot" +"Pilo - Ceno",0.121804435710026,0.0412341308669473,82,2.95397121629798,0.0245565260402311,"Shoot" +"Pilo - Co_Inoc",0.0779193217161281,0.0399514120665197,82,1.950352132395,0.109101535219373,"Shoot" +"Ceno - Co_Inoc",-0.0438851139938983,0.0351525595011496,82,-1.24841873868283,0.258516587745045,"Shoot" +"Control - Pilo",-0.0535972742247492,0.0380071982381118,82,-1.41018745683297,0.418945708063114,"Roots" +"Control - Ceno",0.00870404359384718,0.0358896604323072,82,0.242522316706344,0.878399868322438,"Roots" +"Control - Co_Inoc",-0.00547291680825584,0.0356597226830697,82,-0.153476146096174,0.878399868322438,"Roots" +"Pilo - Ceno",0.0623013178185964,0.0392660124491575,82,1.5866474320321,0.418945708063114,"Roots" +"Pilo - Co_Inoc",0.0481243574164934,0.0380445182324155,82,1.26494853010096,0.418945708063114,"Roots" +"Ceno - Co_Inoc",-0.014176960402103,0.0334747164538472,82,-0.423512486555317,0.878399868322438,"Roots" diff --git a/runs/2_timeseries_data_figure2/Figure2.pdf b/runs/2_timeseries_data_figure2/Figure2.pdf new file mode 100644 index 0000000000000000000000000000000000000000..7669aee55b337165461c93b033cb28e796411997 Binary files /dev/null and b/runs/2_timeseries_data_figure2/Figure2.pdf differ diff --git a/runs/2_timeseries_data_figure2/Figure2_session_info.txt b/runs/2_timeseries_data_figure2/Figure2_session_info.txt new file mode 100644 index 0000000000000000000000000000000000000000..9c567124c8fbbe2a2259ab300cb86659cd354130 --- /dev/null +++ b/runs/2_timeseries_data_figure2/Figure2_session_info.txt @@ -0,0 +1,42 @@ +R version 4.4.1 (2024-06-14) +Platform: aarch64-apple-darwin20 +Running under: macOS Sonoma 14.6.1 + +Matrix products: default +BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib +LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0 + +locale: +[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 + +time zone: Europe/Zurich +tzcode source: internal + +attached base packages: +[1] grid stats graphics grDevices utils datasets methods base + +other attached packages: + [1] patchwork_1.2.0 ggsignif_0.6.4 rstatix_0.7.2 ggtext_0.1.2 tidybayes_3.0.7 + [6] bayestestR_0.15.0 bayesnec_2.1.3.0 posterior_1.6.1 brms_2.22.0 Rcpp_1.0.13 +[11] ggpubr_0.6.0 viridis_0.6.5 viridisLite_0.4.2 lubridate_1.9.3 forcats_1.0.0 +[16] stringr_1.5.1 dplyr_1.1.4 purrr_1.0.2 readr_2.1.5 tidyr_1.3.1 +[21] tibble_3.2.1 ggplot2_3.5.1 tidyverse_2.0.0 + +loaded via a namespace (and not attached): + [1] svUnit_1.0.6 tidyselect_1.2.1 loo_2.8.0 TH.data_1.1-2 + [5] tensorA_0.36.2.1 estimability_1.5.1 timechange_0.3.0 lifecycle_1.0.4 + [9] survival_3.7-0 magrittr_2.0.3 compiler_4.4.1 rlang_1.1.4 +[13] tools_4.4.1 utf8_1.2.4 bridgesampling_1.1-2 xml2_1.3.6 +[17] abind_1.4-5 multcomp_1.4-26 withr_3.0.1 fansi_1.0.6 +[21] xtable_1.8-4 colorspace_2.1-1 emmeans_1.10.4 scales_1.3.0 +[25] MASS_7.3-61 insight_1.0.1 cli_3.6.3 mvtnorm_1.3-1 +[29] generics_0.1.3 RcppParallel_5.1.9 rstudioapi_0.16.0 tzdb_0.4.0 +[33] splines_4.4.1 operator.tools_1.6.3 bayesplot_1.11.1 parallel_4.4.1 +[37] matrixStats_1.3.0 vctrs_0.6.5 Matrix_1.7-0 sandwich_3.1-0 +[41] carData_3.0-5 car_3.1-2 hms_1.1.3 arrayhelpers_1.1-0 +[45] ggdist_3.3.2 glue_1.8.0 chk_0.10.0 codetools_0.2-20 +[49] distributional_0.5.0 stringi_1.8.4 gtable_0.3.5 munsell_0.5.1 +[53] pillar_1.9.0 Brobdingnag_1.2-9 R6_2.5.1 formula.tools_1.7.1 +[57] evaluate_0.24.0 lattice_0.22-6 backports_1.5.0 gridtext_0.1.5 +[61] broom_1.0.6 rstantools_2.4.0 coda_0.19-4.1 gridExtra_2.3 +[65] nlme_3.1-166 checkmate_2.3.2 zoo_1.8-12 pkgconfig_2.0.3 diff --git a/runs/2_timeseries_data_figure2/model_predictions_timeseries.csv b/runs/2_timeseries_data_figure2/model_predictions_timeseries.csv new file mode 100644 index 0000000000000000000000000000000000000000..910a8a6bc358fe20693100712c89ac93609fabfc --- /dev/null +++ b/runs/2_timeseries_data_figure2/model_predictions_timeseries.csv @@ -0,0 +1,401 @@ +"treatment","estimate","se","lower","upper","days" +"Control",1.00077984313502,0.000968202651267554,1.00002282640794,1.02009892570269,-2.48689957516035e-14 +"Ceno",1.00004493489734,6.00315533801196e-05,1.00000068019067,1.0016939927065,-2.48689957516035e-14 +"Co_Inoc",1.00034505867289,0.000434960615206573,1.00000915333372,1.00905453006164,-2.48689957516035e-14 +"Pilo",1.00198352762704,0.00244202934105557,1.00007739439157,1.05111857617786,-2.48689957516035e-14 +"Control",1.00125997386974,0.00155155252300105,1.00004107452044,1.03022433952388,0.646464646464622 +"Ceno",1.00009904741938,0.000128753956619823,1.00000199163797,1.00310636123411,0.646464646464622 +"Co_Inoc",1.00065020198338,0.000801584572500576,1.00002090133116,1.0149111222714,0.646464646464622 +"Pilo",1.00370562122142,0.0044942950451809,1.00016147698032,1.08475927360226,0.646464646464622 +"Control",1.00203366621366,0.00247808273958625,1.00007179447344,1.0460881257787,1.29292929292927 +"Ceno",1.00021887268239,0.000277043032505567,1.00000584065368,1.00562289590151,1.29292929292927 +"Co_Inoc",1.00121336370581,0.00146264008467391,1.00004568260652,1.02483508082476,1.29292929292927 +"Pilo",1.00694309136974,0.00824811779761444,1.00032872501531,1.14172035610532,1.29292929292927 +"Control",1.00325918681167,0.0039388498137669,1.00012668702005,1.06839002354862,1.93939393939392 +"Ceno",1.0004712440899,0.000578531521504472,1.00001593175821,1.01036000000539,1.93939393939392 +"Co_Inoc",1.00228232711266,0.00268976794433431,1.00010069157403,1.04109415405622,1.93939393939392 +"Pilo",1.01296436685855,0.0152153500415196,1.00065643964985,1.22118844836606,1.93939393939392 +"Control",1.00530464208514,0.00634629917103594,1.00021890403766,1.1013319590072,2.58585858585856 +"Ceno",1.00100871484024,0.00120471125222742,1.00004108450344,1.01886232130024,2.58585858585856 +"Co_Inoc",1.00428284105153,0.00491966154920785,1.0002139792173,1.0680133902666,2.58585858585856 +"Pilo",1.02407515582259,0.0277167978412668,1.00130495454403,1.33190254594805,2.58585858585856 +"Control",1.00851667800107,0.0101278577454693,1.00036922561963,1.14594041036748,3.23232323232321 +"Ceno",1.00210474244871,0.00245920892088934,1.00010068216781,1.03592581574395,3.23232323232321 +"Co_Inoc",1.00782304932609,0.00880423414261101,1.0004402397785,1.11259932012411,3.23232323232321 +"Pilo",1.04385097668536,0.0495042908516135,1.00258388422026,1.46930362615606,3.23232323232321 +"Control",1.01355142839228,0.0159758028452422,1.00062388256552,1.20729351389559,3.87878787878786 +"Ceno",1.00431416692123,0.00492638236806523,1.00022850009388,1.06632770725273,3.87878787878786 +"Co_Inoc",1.01417386938522,0.0157150406567735,1.00085217504887,1.18413917221768,3.87878787878786 +"Pilo",1.07860458066804,0.0860189633224998,1.00503616218798,1.61338209238744,3.87878787878786 +"Control",1.02163788804773,0.0252296229797288,1.00104232611077,1.28526698600016,4.5252525252525 +"Ceno",1.00849574533651,0.00956105162767415,1.00048048310198,1.11949590524907,4.5252525252525 +"Co_Inoc",1.02527441712904,0.0275333896840671,1.00162043085928,1.27893177041673,4.5252525252525 +"Pilo",1.13522514320894,0.140883770460494,1.00968306153678,1.739711216701,4.5252525252525 +"Control",1.03419974112284,0.0393340107149608,1.00171581686759,1.38693876725757,5.17171717171715 +"Ceno",1.01621411384713,0.0179891006168534,1.00093720549869,1.20460014475977,5.17171717171715 +"Co_Inoc",1.04369280442983,0.0465844686551396,1.00299346222912,1.40063850387299,5.17171717171715 +"Pilo",1.2241420434784,0.215155136325559,1.01811133919316,1.84310684679646,5.17171717171715 +"Control",1.05319436066374,0.0600665740985125,1.00285558984751,1.49536513220743,5.8181818181818 +"Ceno",1.02964896020372,0.0323209439039096,1.00179014005455,1.31700024646508,5.8181818181818 +"Co_Inoc",1.07336870038429,0.0764023884236389,1.00538605624385,1.5342924447339,5.8181818181818 +"Pilo",1.34527024519027,0.288018096097922,1.03347526525908,1.91880993368316,5.8181818181818 +"Control",1.08129779153679,0.0898569158153287,1.00467893863138,1.60842411171619,6.46464646464644 +"Ceno",1.0512938894353,0.0550669400493081,1.00326582423433,1.4497939501652,6.46464646464644 +"Co_Inoc",1.1179535937681,0.118530840684227,1.00925660878969,1.66131465533256,6.46464646464644 +"Pilo",1.48796905135617,0.326301348767828,1.06042246678386,1.9754877464349,6.46464646464644 +"Control",1.12205103538252,0.130346557185966,1.00744569745509,1.70729063218296,7.11111111111109 +"Ceno",1.08359587311669,0.0876516409027439,1.00563545988919,1.5815731549479,7.11111111111109 +"Co_Inoc",1.1800588642694,0.171659547749825,1.01577862408433,1.76525332005975,7.11111111111109 +"Pilo",1.63448554382002,0.305438060434489,1.10494425234019,2.02666334276188,7.11111111111109 +"Control",1.17852624690662,0.181597885833993,1.01197391771968,1.79408566370763,7.75757575757573 +"Ceno",1.12993753943488,0.131033718022389,1.0091832126203,1.69064973544833,7.75757575757573 +"Co_Inoc",1.26087951386217,0.228920123248447,1.02515526192061,1.84344720906174,7.75757575757573 +"Pilo",1.75895737125834,0.248519284631787,1.17448199186775,2.0836597515143,7.75757575757573 +"Control",1.25163080188045,0.238813079529282,1.01896734434945,1.86303365283919,8.40404040404038 +"Ceno",1.18924232225504,0.180940724013162,1.014436155876,1.77908781537456,8.40404040404038 +"Co_Inoc",1.35692829134614,0.277116331538551,1.03931197397571,1.90374547990997,8.40404040404038 +"Pilo",1.85494094715702,0.190611719263303,1.27470319996852,2.15860417169608,8.40404040404038 +"Control",1.34198270046234,0.291644490961125,1.02996269022226,1.91699234979596,9.05050505050503 +"Ceno",1.25956374591376,0.231037434708631,1.02216514551796,1.84412475229587,9.05050505050503 +"Co_Inoc",1.45848591245114,0.302151087916868,1.05859449952372,1.94708773361906,9.05050505050503 +"Pilo",1.92550987855243,0.152624043322176,1.40105062058602,2.25195932599149,9.05050505050503 +"Control",1.44432286582547,0.324643460889701,1.04555214284134,1.95978947835768,9.69696969696967 +"Ceno",1.33732400630695,0.271340150879273,1.0324203082808,1.89140036168192,9.69696969696967 +"Co_Inoc",1.55447926485829,0.302813975481652,1.08401368606603,1.98243047499374,9.69696969696967 +"Pilo",1.97965451605064,0.135824590027975,1.53764254903163,2.37095449071274,9.69696969696967 +"Control",1.55166009088879,0.327222892034651,1.06895402233066,1.99910519641431,10.3434343434343 +"Ceno",1.41751449992276,0.297406780429938,1.04581407307492,1.92761067936841,10.3434343434343 +"Co_Inoc",1.64005410084205,0.282298354709419,1.11548674553483,2.01258858843061,10.3434343434343 +"Pilo",2.02903083619369,0.136427782301548,1.66999410106383,2.50198604920024,10.3434343434343 +"Control",1.6552109926106,0.29862636830049,1.1035339193037,2.03705385750031,10.989898989899 +"Ceno",1.49333210925399,0.308251420877296,1.06203854155287,1.95602554612073,10.989898989899 +"Co_Inoc",1.71348373788124,0.254221193271751,1.15518386975019,2.04055338065363,10.989898989899 +"Pilo",2.08295727726018,0.154437032201585,1.7799627004262,2.63197529705309,10.989898989899 +"Control",1.74524229351002,0.255791778327101,1.14745698777539,2.08190528682295,11.6363636363636 +"Ceno",1.56567151185116,0.304311985715708,1.08305523828696,1.9818827580532,11.6363636363636 +"Co_Inoc",1.77193474466521,0.224794911590562,1.20030196964022,2.06900486294453,11.6363636363636 +"Pilo",2.15160708786978,0.190797695117167,1.8682728225061,2.74788211402717,11.6363636363636 +"Control",1.82041692201942,0.21208944847647,1.20841452402993,2.13381612536868,12.2828282828283 +"Ceno",1.62973563460361,0.288862896333554,1.10596504454616,2.00390483103299,12.2828282828283 +"Co_Inoc",1.81903178959963,0.198220200144582,1.2517293820063,2.09615209692283,12.2828282828283 +"Pilo",2.23986254268916,0.241480581985198,1.93082953721409,2.84801859517313,12.2828282828283 +"Control",1.8803796277112,0.176536885569663,1.28963013616514,2.19374301075617,12.9292929292929 +"Ceno",1.6858146274146,0.268014741195918,1.13427353300917,2.02505060286759,12.9292929292929 +"Co_Inoc",1.85654052672586,0.17639898969231,1.30435528824538,2.12505886931688,12.9292929292929 +"Pilo",2.34766082305193,0.292183705435852,1.98151887133195,2.93080180367711,12.9292929292929 +"Control",1.92893703237548,0.152850087359717,1.38209155153405,2.26948221199662,13.5757575757576 +"Ceno",1.73589535707567,0.244071142505232,1.16655115691997,2.04633280438472,13.5757575757576 +"Co_Inoc",1.88629241670524,0.159195516105346,1.3531322804962,2.15429761056333,13.5757575757576 +"Pilo",2.47067421638274,0.322816818138891,2.02666979832058,3.00581130949341,13.5757575757576 +"Control",1.96973402618042,0.139841432586289,1.48486927712824,2.35450326609401,14.2222222222222 +"Ceno",1.77978391430811,0.220956681901092,1.20175825635619,2.0683496840625,14.2222222222222 +"Co_Inoc",1.91020911677394,0.145953942705444,1.40221657244356,2.18455067698024,14.2222222222222 +"Pilo",2.59516344139452,0.319827627112913,2.07487832826516,3.08182667651992,14.2222222222222 +"Control",2.00642567268634,0.137089652770044,1.58749580107727,2.44915239511399,14.8686868686868 +"Ceno",1.81703807623999,0.200304532638576,1.24009627913923,2.09231202224128,14.8686868686868 +"Co_Inoc",1.93070117450847,0.136423213377988,1.44968766484555,2.21457610685472,14.8686868686868 +"Pilo",2.71059955264807,0.291385668379748,2.13200417039148,3.16183362947936,14.8686868686868 +"Control",2.0434697347629,0.142346837744052,1.68250335759239,2.54906081199876,15.5151515151515 +"Ceno",1.85015929002369,0.180687820795434,1.28304881556212,2.1180611583273,15.5151515151515 +"Co_Inoc",1.94806196361214,0.130031027836186,1.49096228054263,2.24238679223219,15.5151515151515 +"Pilo",2.81070225626981,0.257008808547432,2.20560518692223,3.25563555690884,15.5151515151515 +"Control",2.08434663789524,0.158539423174503,1.76548004189974,2.64817541179366,16.1616161616161 +"Ceno",1.8793093956647,0.163609421531789,1.33279390807595,2.14701291584614,16.1616161616161 +"Co_Inoc",1.96328123628663,0.125290875784878,1.53094688645451,2.2704579355824,16.1616161616161 +"Pilo",2.89362719134359,0.229795882191155,2.29519244114077,3.36370627166601,16.1616161616161 +"Control",2.13437299249149,0.184602491808399,1.8349827323281,2.74278703946569,16.8080808080808 +"Ceno",1.90523895439942,0.150394987419659,1.38708543697707,2.17871224006512,16.8080808080808 +"Co_Inoc",1.97699516886245,0.12243936181138,1.56895784264941,2.30118587794105,16.8080808080808 +"Pilo",2.96506771086409,0.216080690724479,2.39641389990023,3.48043633734934,16.8080808080808 +"Control",2.19460736505923,0.219922160464875,1.89096522329804,2.82171488985288,17.4545454545454 +"Ceno",1.92879225675686,0.139700806762582,1.44133365847867,2.21263209058079,17.4545454545454 +"Co_Inoc",1.99019046026135,0.120025997986883,1.60260149353309,2.33065965958004,17.4545454545454 +"Pilo",3.03186252897356,0.213839052129044,2.50710316972074,3.59613769497132,17.4545454545454 +"Control",2.26584108315881,0.261565325201756,1.93527610099677,2.89091813781075,18.1010101010101 +"Ceno",1.94973841837068,0.131313046275914,1.4886516457701,2.25453009854516,18.1010101010101 +"Co_Inoc",2.00376215640884,0.119835324001605,1.64133908233167,2.36708002410365,18.1010101010101 +"Pilo",3.10057908278965,0.226458511803757,2.61763850463058,3.70070613664274,18.1010101010101 +"Control",2.3491798135873,0.301322338582338,1.97197342120245,2.95349676561725,18.7474747474747 +"Ceno",1.96907158674539,0.126289825035723,1.54179856958967,2.29927569624467,18.7474747474747 +"Co_Inoc",2.01826731630733,0.12167052421028,1.67965303116882,2.40716450879459,18.7474747474747 +"Pilo",3.17589958025785,0.249849398391239,2.71496447667616,3.79452841253831,18.7474747474747 +"Control",2.44098525460442,0.325715404852923,2.00540796448828,3.00900706504727,19.3939393939394 +"Ceno",1.98710890465935,0.123169338074664,1.5924628315382,2.34559744632917,19.3939393939394 +"Co_Inoc",2.03372785313808,0.124764299243297,1.71358016632557,2.44932743492227,19.3939393939394 +"Pilo",3.2606811279489,0.280982411193024,2.80361041699888,3.87457662548328,19.3939393939394 +"Control",2.53537996207986,0.334529754022207,2.03946530945178,3.06881042449503,20.040404040404 +"Ceno",2.00457519395207,0.122000879488993,1.64148247477307,2.39403814309055,20.040404040404 +"Co_Inoc",2.05158187750569,0.129958309102419,1.75101472621173,2.49778053437045,20.040404040404 +"Pilo",3.35761551020141,0.311624772042944,2.87908194025586,3.9406007881727,20.040404040404 +"Control",2.62842207157181,0.323827079984448,2.07628333194688,3.13078009662554,20.6868686868687 +"Ceno",2.02270512290562,0.124170377242579,1.68198410110753,2.44641354161632,20.6868686868687 +"Co_Inoc",2.07270720256073,0.137643861286083,1.78554587099157,2.54974319276298,20.6868686868687 +"Pilo",3.45881807032118,0.329107526701504,2.94322378963378,4.00459783197139,20.6868686868687 +"Control",2.71407795231262,0.300352441292902,2.12169393881729,3.19883343943092,21.3333333333333 +"Ceno",2.04009242856505,0.12787665023607,1.7251471172105,2.49536837053403,21.3333333333333 +"Co_Inoc",2.09784651308192,0.14887869019758,1.82117531095644,2.60653871079741,21.3333333333333 +"Pilo",3.56041997610548,0.328554619794678,3.0011305717616,4.069086599872,21.3333333333333 +"Control",2.79136325003649,0.273176550754881,2.17387368826441,3.2720392001819,21.979797979798 +"Ceno",2.05955083860725,0.134299783650524,1.7601436007409,2.54234578639363,21.979797979798 +"Co_Inoc",2.12825480039951,0.165289965212785,1.85720892576292,2.6665840300924,21.979797979798 +"Pilo",3.65704386541237,0.309655052743007,3.05905110348775,4.13446643951846,21.979797979798 +"Control",2.85811375228526,0.249640363387618,2.23323069174105,3.3588158959696,22.6262626262626 +"Ceno",2.07851886198943,0.142142189841145,1.79465454118156,2.58774261142682,22.6262626262626 +"Co_Inoc",2.1667244659921,0.187578275451236,1.89254355481645,2.72578824493414,22.6262626262626 +"Pilo",3.7460029162276,0.282206918439599,3.12028077568152,4.20785489690359,22.6262626262626 +"Control",2.91729015825511,0.233957040370211,2.30258365452982,3.45144698315112,23.2727272727272 +"Ceno",2.09928314354242,0.150679937148484,1.82453407032115,2.6347713245242,23.2727272727272 +"Co_Inoc",2.21354836346708,0.214765141388864,1.92431048829719,2.78594270183893,23.2727272727272 +"Pilo",3.82425675252982,0.255599268722886,3.18873262430791,4.28768662724875,23.2727272727272 +"Control",2.97203617683365,0.226173028873049,2.3826903170291,3.54889715057557,23.9191919191919 +"Ceno",2.12110330147571,0.162466472349489,1.85145062011847,2.67635191894522,23.9191919191919 +"Co_Inoc",2.27009795269247,0.243952130502204,1.95611323482963,2.84424950444502,23.9191919191919 +"Pilo",3.8913514967958,0.234769910977503,3.26609781249853,4.37964754161125,23.9191919191919 +"Control",3.02414751674667,0.226725367667118,2.46649859374079,3.63700692661424,24.5656565656565 +"Ceno",2.14454698413806,0.1754009954569,1.87527915809354,2.71883259532731,24.5656565656565 +"Co_Inoc",2.33673138897852,0.273504304617184,1.98519557093216,2.89717026800227,24.5656565656565 +"Pilo",3.95126400664427,0.223466037181397,3.35224708429358,4.47175691443517,24.5656565656565 +"Control",3.07706773947177,0.234047830490186,2.55007062710835,3.71805405723108,25.2121212121212 +"Ceno",2.1700748621259,0.190387230136793,1.89570045648367,2.75592992188998,25.2121212121212 +"Co_Inoc",2.41303980112734,0.296935052945143,2.01256432282835,2.94847568713656,25.2121212121212 +"Pilo",4.00785162581646,0.221537077770605,3.43919404835116,4.5688325355236,25.2121212121212 +"Control",3.13412037765598,0.249193840980111,2.63179659217066,3.7958074106229,25.8585858585858 +"Ceno",2.19625532167643,0.205853752470866,1.91320523734038,2.79204502808608,25.8585858585858 +"Co_Inoc",2.49799671103262,0.308555058526449,2.04043247353628,3.00165753622386,25.8585858585858 +"Pilo",4.06355144849472,0.227014713847472,3.53061604013951,4.6557938125312,25.8585858585858 +"Control",3.19808660256174,0.272349152792849,2.70988510276408,3.86235855461815,26.5050505050505 +"Ceno",2.22285135138817,0.221106492245646,1.92891738524826,2.8262699174738,26.5050505050505 +"Co_Inoc",2.58604789135584,0.305557542723913,2.07496624811755,3.05293282412775,26.5050505050505 +"Pilo",4.12403145108132,0.241429443267134,3.61987300988534,4.7361711175296,26.5050505050505 +"Control",3.26904320962463,0.298861771953925,2.77862285388804,3.92265348027185,27.1515151515151 +"Ceno",2.25103476660153,0.236268337374164,1.94334812013896,2.85699982018552,27.1515151515151 +"Co_Inoc",2.67074586679077,0.289805553894122,2.11347263374995,3.11139287892365,27.1515151515151 +"Pilo",4.19215799492157,0.264693359822838,3.70596296621858,4.80948604651777,27.1515151515151 +"Control",3.34690809886683,0.326084001902904,2.84083187531448,3.97935817928831,27.7979797979798 +"Ceno",2.28191399881406,0.252942738463852,1.95688390839974,2.8851235693183,27.7979797979798 +"Co_Inoc",2.75205395529907,0.265892377965132,2.1619960139344,3.17951023422928,27.7979797979798 +"Pilo",4.2666085438789,0.291849462959232,3.78257478525402,4.86914760204616,27.7979797979798 +"Control",3.43146668601477,0.34267552439623,2.90172210075396,4.03129383651245,28.4444444444444 +"Ceno",2.31263723173558,0.267987043356717,1.97015166282943,2.90992064346954,28.4444444444444 +"Co_Inoc",2.82484166503233,0.241661389526641,2.22318666259213,3.25301819051815,28.4444444444444 +"Pilo",4.34906666545218,0.317967054077143,3.85101618724804,4.92333371452963,28.4444444444444 +"Control",3.51792692480742,0.350487931720578,2.95114592250575,4.08894146865035,29.0909090909091 +"Ceno",2.34374613339994,0.282473162438324,1.98295472056458,2.93439742237843,29.0909090909091 +"Co_Inoc",2.89095932707063,0.222098337118764,2.294844133474,3.34226567090389,29.0909090909091 +"Pilo",4.43733204869714,0.336112029810864,3.91208952748752,4.97114644896097,29.0909090909091 +"Control",3.60277452844227,0.342318881382651,2.99961667691885,4.15096843756031,29.7373737373737 +"Ceno",2.37591870725143,0.294977169344534,1.99546463736255,2.95607543160244,29.7373737373737 +"Co_Inoc",2.94877722198134,0.210657876833869,2.37366450367793,3.43476713975696,29.7373737373737 +"Pilo",4.52990185703943,0.335728117974333,3.96952054019762,5.01464826164493,29.7373737373737 +"Control",3.68428226445991,0.325253650040621,3.04692529950707,4.21618143026849,30.3838383838384 +"Ceno",2.40957322176007,0.304691398355176,2.0069254921105,2.97673480852926,30.3838383838384 +"Co_Inoc",3.0029873007555,0.20865537091625,2.45882640262439,3.53103322763901,30.3838383838384 +"Pilo",4.61974437123575,0.319814146358524,4.02353494843958,5.06063062412225,30.3838383838384 +"Control",3.76107652366364,0.300066684912318,3.09705383670818,4.29004122274532,31.030303030303 +"Ceno",2.441767498185,0.312140799349408,2.01811056428366,2.99830709567495,31.030303030303 +"Co_Inoc",3.05607848158713,0.214556036560512,2.5472553048248,3.62226770083848,31.030303030303 +"Pilo",4.70206111696274,0.291798491983962,4.07516303170786,5.11202828079947,31.030303030303 +"Control",3.82997320265638,0.275964863319402,3.1531749436893,4.3714813579231,31.6767676767677 +"Ceno",2.47618082578673,0.318306301597525,2.02854738840525,3.01915935506144,31.6767676767677 +"Co_Inoc",3.11308540642275,0.2278943481319,2.6319983355874,3.71374924749529,31.6767676767677 +"Pilo",4.77672356541367,0.259475215489428,4.13278461330223,5.16990508769365,31.6767676767677 +"Control",3.89092968263747,0.258607927526173,3.21470401049989,4.45950206617168,32.3232323232323 +"Ceno",2.50771933837066,0.322805393297162,2.03986651136163,3.03975360542076,32.3232323232323 +"Co_Inoc",3.17692295875053,0.24956559088614,2.71399162718791,3.79490474251655,32.3232323232323 +"Pilo",4.84072385334697,0.230083278351356,4.19420703419116,5.23822550814909,32.3232323232323 +"Control",3.94588671726958,0.247511966955889,3.28460118111501,4.55061005522156,32.969696969697 +"Ceno",2.5410829444773,0.324696013602391,2.05150901127104,3.06135564601533,32.969696969697 +"Co_Inoc",3.24830219791509,0.278715422862934,2.78571899224213,3.86364207390005,32.969696969697 +"Pilo",4.8953260786278,0.205701197998125,4.26430344169847,5.31656278292906,32.969696969697 +"Control",3.9976779965471,0.245094354728466,3.35793696210801,4.63977948789813,33.6161616161616 +"Ceno",2.57455097480318,0.323504221355615,2.06302909429142,3.08397191757641,33.6161616161616 +"Co_Inoc",3.32607890030546,0.307131959570486,2.84763487017811,3.92587048861931,33.6161616161616 +"Pilo",4.94313395236538,0.19187521929747,4.34538885386059,5.40170095314898,33.6161616161616 +"Control",4.04930153639403,0.251012939635123,3.43836656335527,4.72037780724094,34.2626262626262 +"Ceno",2.60898139161364,0.32059796409606,2.07573018216521,3.10954484937333,34.2626262626262 +"Co_Inoc",3.40988826980658,0.328296132471822,2.90318575421386,3.98485428321649,34.2626262626262 +"Pilo",4.98666173931968,0.187185850895114,4.42936711675606,5.49019953955645,34.2626262626262 +"Control",4.10384571349234,0.264162668397861,3.52068257712614,4.792133235514,34.9090909090909 +"Ceno",2.64106950862841,0.316241947932378,2.08746476072522,3.13589425133525,34.9090909090909 +"Co_Inoc",3.4971837684852,0.337047985205492,2.95565540467926,4.03886222510546,34.9090909090909 +"Pilo",5.0285007259284,0.190723552753923,4.51625945873165,5.58351476352853,34.9090909090909 +"Control",4.16206263053335,0.283861333395485,3.59825914105924,4.85011444820182,35.5555555555555 +"Ceno",2.67406514672303,0.310279200691635,2.09939708999731,3.16365950508045,35.5555555555555 +"Co_Inoc",3.5832298319319,0.330579803916756,3.00316585682878,4.09499123116804,35.5555555555555 +"Pilo",5.07251758611691,0.200705301560737,4.59936863225087,5.66922741381772,35.5555555555555 +"Control",4.22817495714744,0.309217421485928,3.67370950086656,4.90278434803811,36.2020202020202 +"Ceno",2.70498215986565,0.302703082172591,2.11304067526954,3.18965211055874,36.2020202020202 +"Co_Inoc",3.66595128825396,0.31593404862207,3.05017725984829,4.15643089556457,36.2020202020202 +"Pilo",5.12219234265071,0.219447340255229,4.68121001539218,5.74562215839205,36.2020202020202 +"Control",4.30004112401735,0.336139378561463,3.7422539603092,4.94818288810536,36.8484848484848 +"Ceno",2.73317511371985,0.295405794501135,2.12974828269303,3.22040490770941,36.8484848484848 +"Co_Inoc",3.74054430571128,0.294404953052868,3.09996046385084,4.22715055650979,36.8484848484848 +"Pilo",5.17669718136272,0.24491404893309,4.75112596046809,5.81172515912782,36.8484848484848 +"Control",4.37924120818861,0.361121472771369,3.8102726141223,4.99066158391136,37.4949494949495 +"Ceno",2.76123554809373,0.28689016284579,2.15001129342967,3.25217637417144,37.4949494949495 +"Co_Inoc",3.80731863302036,0.273089499647605,3.15236492800004,4.30241380981714,37.4949494949495 +"Pilo",5.24084626738596,0.277416218566783,4.81313696718567,5.86676429111386,37.4949494949495 +"Control",4.46117016242578,0.374761063728077,3.86493688475291,5.03289116848997,38.1414141414141 +"Ceno",2.78908259777563,0.278203612139381,2.16799962649152,3.28729271869533,38.1414141414141 +"Co_Inoc",3.86532495114727,0.254565734716775,3.208595219874,4.38784665660241,38.1414141414141 +"Pilo",5.312088158385,0.311159312748247,4.86581728755474,5.91253966606214,38.1414141414141 +"Control",4.5428505788067,0.373619445404935,3.91612026858101,5.07604937344069,38.7878787878788 +"Ceno",2.81705090491872,0.270426707518645,2.18808513635239,3.32376110015312,38.7878787878788 +"Co_Inoc",3.91846431856552,0.242987383972634,3.26770587671789,4.46899247618239,38.7878787878788 +"Pilo",5.39164692352804,0.338372195180955,4.9131791820684,5.94951897721853,38.7878787878788 +"Control",4.62282514666474,0.354739518688804,3.96185435303261,5.12640377301779,39.4343434343434 +"Ceno",2.84565706286966,0.263536439333393,2.21030944050378,3.36591080532734,39.4343434343434 +"Co_Inoc",3.96667155646802,0.236974263656678,3.33491119456439,4.5512892603178,39.4343434343434 +"Pilo",5.47602634263762,0.35269642036116,4.95430370955904,5.98385114225088,39.4343434343434 +"Control",4.69661327930083,0.329220596411068,4.00298766983068,5.1809719657025,40.0808080808081 +"Ceno",2.8729025003496,0.25647751955656,2.23472260866731,3.41041904672172,40.0808080808081 +"Co_Inoc",4.01218442574557,0.237387226466789,3.40448048942482,4.62911326810937,40.0808080808081 +"Pilo",5.55870544938496,0.348759073081481,4.9934854926773,6.01495210187742,40.0808080808081 +"Control",4.76388690083558,0.299225846520815,4.05029601936121,5.24540655728432,40.7272727272727 +"Ceno",2.89894274473673,0.250088540414854,2.26223478325873,3.45759220014013,40.7272727272727 +"Co_Inoc",4.05693668241969,0.242653622497423,3.46950602091674,4.69708861088296,40.7272727272727 +"Pilo",5.63822465423376,0.326651498337952,5.02971405249762,6.0476892341744,40.7272727272727 +"Control",4.8225269544376,0.271086168672017,4.09542639128657,5.31798924310356,41.3737373737374 +"Ceno",2.9255170857997,0.245430419251263,2.29634973368284,3.50217515814708,41.3737373737374 +"Co_Inoc",4.1028437698936,0.254374631241955,3.53300100536582,4.76471679210125,41.3737373737374 +"Pilo",5.71083036426729,0.294435972491314,5.06858278441603,6.0845209596147,41.3737373737374 +"Control",4.87306160532589,0.248894902313719,4.14465085156982,5.39425224820671,42.020202020202 +"Ceno",2.95159479735301,0.243669147629432,2.32729494606549,3.55472658962599,42.020202020202 +"Co_Inoc",4.15008046343571,0.271491115018399,3.59780864599792,4.81959659042806,42.020202020202 +"Pilo",5.77452280549106,0.260306799403654,5.10944931158137,6.12785303970979,42.020202020202 +"Control",4.91783683766343,0.233732411679753,4.19645521412431,5.47468754511985,42.6666666666666 +"Ceno",2.97766364832462,0.244904500771638,2.36052125641854,3.60513781240519,42.6666666666666 +"Co_Inoc",4.20006655153477,0.290468258891426,3.65595681950125,4.86746009515447,42.6666666666666 +"Pilo",5.82920003176446,0.227745160561015,5.15382425115915,6.17822979252518,42.6666666666666 +"Control",4.95729766504543,0.225851593727352,4.25750007120577,5.5570587667651,43.3131313131313 +"Ceno",3.00495624737323,0.24557448572944,2.39999407889687,3.65520654324847,43.3131313131313 +"Co_Inoc",4.25220103146105,0.310862758434337,3.70952973487782,4.90769701910133,43.3131313131313 +"Pilo",5.87458893489616,0.201916839216375,5.2031682692118,6.23802337633325,43.3131313131313 +"Control",4.99443059663165,0.223749436522975,4.31962428276512,5.63202461504849,43.9595959595959 +"Ceno",3.03474518362732,0.248980495346217,2.4417544933951,3.7038416511903,43.9595959595959 +"Co_Inoc",4.30675463081024,0.331294026878529,3.75880080742351,4.94120970392353,43.9595959595959 +"Pilo",5.91285554838629,0.181853646640889,5.2599054005725,6.30408558702764,43.9595959595959 +"Control",5.0318525430624,0.23025027505372,4.38674590056983,5.70451919462896,44.6060606060606 +"Ceno",3.06657216393185,0.255559488153531,2.48929402675309,3.75364614706137,44.6060606060606 +"Co_Inoc",4.36208878111062,0.349501335041218,3.80461324586355,4.97329595751391,44.6060606060606 +"Pilo",5.94576477198059,0.169371272473476,5.32063691587783,6.37947875938252,44.6060606060606 +"Control",5.07034680177772,0.239304177672701,4.45964536720029,5.76850734945086,45.2525252525252 +"Ceno",3.10168659257645,0.265132009372285,2.53720582962418,3.80091222747804,45.2525252525252 +"Co_Inoc",4.41813756135749,0.363372612592695,3.83633953895617,5.00198496843967,45.2525252525252 +"Pilo",5.97407061784531,0.163556142465277,5.38821842489832,6.46002367125847,45.2525252525252 +"Control",5.11251253668399,0.255990329200354,4.52873341547321,5.8275127367637,45.8989898989899 +"Ceno",3.13974400764002,0.279039180980422,2.58517140944763,3.84769394172021,45.8989898989899 +"Co_Inoc",4.47501586338105,0.370507680340821,3.87375391654298,5.03209438785673,45.8989898989899 +"Pilo",6.00048375178177,0.163659589280467,5.45619939881255,6.54075948864084,45.8989898989899 +"Control",5.16110623354345,0.279952597108648,4.60004413396185,5.87594881102867,46.5454545454545 +"Ceno",3.18342784984826,0.295894231526642,2.63805219997432,3.89107095183567,46.5454545454545 +"Co_Inoc",4.53052079929142,0.369129737786319,3.90477266985568,5.06211098996484,46.5454545454545 +"Pilo",6.0268259956369,0.167011166947285,5.52912763294118,6.61620187919759,46.5454545454545 +"Control",5.21447319763206,0.310185546983338,4.66523828992922,5.91470933135406,47.1919191919192 +"Ceno",3.23091716909677,0.317075963246594,2.68934748791171,3.93809106187268,47.1919191919192 +"Co_Inoc",4.58272005597289,0.363121510255471,3.93753728216997,5.09243816694284,47.1919191919192 +"Pilo",6.05551096064231,0.177005220815791,5.59455616789257,6.68545777076215,47.1919191919192 +"Control",5.27483421878346,0.343844101002358,4.72541644400643,5.95025251825474,47.8383838383838 +"Ceno",3.28662923372086,0.340914808170181,2.73921917653067,3.98068232284365,47.8383838383838 +"Co_Inoc",4.63261154048666,0.351934474072979,3.96543023231627,5.12569920462514,47.8383838383838 +"Pilo",6.08688961452044,0.192123916456579,5.6558676151579,6.74713908630033,47.8383838383838 +"Control",5.34137717239705,0.376943217794075,4.77866182024473,5.98117155850096,48.4848484848485 +"Ceno",3.34917893058885,0.364881223780591,2.78962005878678,4.0247492447599,48.4848484848485 +"Co_Inoc",4.67986313803143,0.336000684784596,3.99236256845412,5.16426268551332,48.4848484848485 +"Pilo",6.12093341315556,0.212822796954309,5.70984810286692,6.80099965055956,48.4848484848485 +"Control",5.41464371980798,0.403243498466647,4.82786642226333,6.01035166009661,49.1313131313131 +"Ceno",3.41745652489986,0.383387892128284,2.8360871276606,4.07239420778585,49.1313131313131 +"Co_Inoc",4.72415859782062,0.31872555697737,4.01912786198189,5.20651293173859,49.1313131313131 +"Pilo",6.1599525513893,0.238411086197963,5.76013392534938,6.84366669193108,49.1313131313131 +"Control",5.48915046096384,0.413324393778051,4.87066058923749,6.04195755489833,49.7777777777778 +"Ceno",3.49121996917365,0.395240652547409,2.88112734148969,4.12498057857862,49.7777777777778 +"Co_Inoc",4.76564030577227,0.299859816768235,4.04488414339223,5.25291691556524,49.7777777777778 +"Pilo",6.20427489027506,0.268274478518773,5.80363837270556,6.87823136764426,49.7777777777778 +"Control",5.56453807346242,0.404120425132469,4.90899761802332,6.07575982729387,50.4242424242424 +"Ceno",3.56579540046305,0.392178583389465,2.92264626862644,4.18383954240726,50.4242424242424 +"Co_Inoc",4.80378970396616,0.281555876780378,4.0710423414544,5.29912447541517,50.4242424242424 +"Pilo",6.25357509124052,0.302220552612252,5.84188759420299,6.90656026703473,50.4242424242424 +"Control",5.63628573689037,0.380384528113086,4.94254035785637,6.11497188555618,51.070707070707 +"Ceno",3.64084127360974,0.378786647104365,2.96683734151704,4.25160929046548,51.070707070707 +"Co_Inoc",4.83917984980944,0.265888646276211,4.10057892716167,5.34916162783537,51.070707070707 +"Pilo",6.30728777786473,0.334500750762304,5.87523449698442,6.92892661344453,51.070707070707 +"Control",5.70265439012789,0.34703481494106,4.97717786970626,6.15982828520328,51.7171717171717 +"Ceno",3.71017508946904,0.360704440081641,3.00876704331524,4.32203579955038,51.7171717171717 +"Co_Inoc",4.87129633407504,0.253375035126742,4.12985639056058,5.40567373891866,51.7171717171717 +"Pilo",6.36497894846069,0.363616331615723,5.90287688444606,6.94717989686314,51.7171717171717 +"Control",5.76255349778445,0.310453257672387,5.00889886550016,6.2164518694642,52.3636363636363 +"Ceno",3.77339203751611,0.339398065514997,3.05047790694983,4.39548902840688,52.3636363636363 +"Co_Inoc",4.9001913540627,0.244046785724447,4.16065929263694,5.45616482738047,52.3636363636363 +"Pilo",6.4238037602283,0.383605215609124,5.92807367594024,6.96156648943295,52.3636363636363 +"Control",5.81424957096061,0.27803327424415,5.04220442288886,6.28047392318966,53.010101010101 +"Ceno",3.82953146026175,0.322014532547675,3.09039882242318,4.47291301771908,53.010101010101 +"Co_Inoc",4.92681856419629,0.237752722008597,4.1925012125673,5.51629033704669,53.010101010101 +"Pilo",6.48408219178407,0.394229580310132,5.95152665652552,6.97286731421181,53.010101010101 +"Control",5.85915105191418,0.25039225102528,5.07613810849267,6.34792723602612,53.6565656565656 +"Ceno",3.88003095197608,0.310050063967841,3.1331828409444,4.55209674845988,53.6565656565656 +"Co_Inoc",4.95114619163623,0.234878611490526,4.22628078971083,5.57511986877922,53.6565656565656 +"Pilo",6.5425873707631,0.390198298726496,5.9710952110402,6.98223402044428,53.6565656565656 +"Control",5.89635271045504,0.230933643253835,5.10922636945652,6.41953931337108,54.3030303030303 +"Ceno",3.92298061639687,0.301450053609471,3.17550500168411,4.61869749510184,54.3030303030303 +"Co_Inoc",4.97340936853423,0.233186923999579,4.26332601088805,5.62706023698845,54.3030303030303 +"Pilo",6.59941575246086,0.37534612341682,5.98899374787061,6.99005219916516,54.3030303030303 +"Control",5.92915441622391,0.219362999586618,5.14894936151111,6.50048381749474,54.9494949494949 +"Ceno",3.9597548317873,0.299276320205219,3.21850563605757,4.68072409606047,54.9494949494949 +"Co_Inoc",4.99387707548446,0.233949908637791,4.2971560857919,5.67012067271125,54.9494949494949 +"Pilo",6.65120631591115,0.352140984676828,6.00875243653851,6.99701295604362,54.9494949494949 +"Control",5.95843183351461,0.213408451804085,5.19430269679483,6.58273746429401,55.5959595959596 +"Ceno",3.99226963599696,0.299876442802144,3.25697307701315,4.73515873343237,55.5959595959596 +"Co_Inoc",5.01352654806495,0.23571826188016,4.32850865647709,5.71097702315825,55.5959595959596 +"Pilo",6.70031838643404,0.322592205049433,6.02536134648568,7.00445894427189,55.5959595959596 +"Control",5.9843173618959,0.212405291970635,5.24326783457381,6.65659405698856,56.2424242424242 +"Ceno",4.02166640409341,0.306155555541367,3.29285460979414,4.78223918696406,56.2424242424242 +"Co_Inoc",5.03196778216621,0.241291757733589,4.35886818429183,5.75208251617227,56.2424242424242 +"Pilo",6.74197812152813,0.291518246617405,6.04300573845292,7.01212778731433,56.2424242424242 +"Control",6.00936257674475,0.215222864046638,5.2935086113929,6.71870943081034,56.8888888888889 +"Ceno",4.04772515968486,0.312029406028613,3.32653946078696,4.81811883764337,56.8888888888889 +"Co_Inoc",5.0494364915268,0.24742557225501,4.3883595095752,5.78139292631308,56.8888888888889 +"Pilo",6.77999589711229,0.258880024962677,6.06015776965132,7.02030949064994,56.8888888888889 +"Control",6.03446529090558,0.223389969673342,5.34902154228879,6.77679186139938,57.5353535353535 +"Ceno",4.07025875173396,0.319024599596701,3.35217858121366,4.84731355445173,57.5353535353535 +"Co_Inoc",5.06641954072542,0.253348183149945,4.41897377303847,5.80945868177451,57.5353535353535 +"Pilo",6.81328882759149,0.228699383894218,6.08044268271918,7.02989305076256,57.5353535353535 +"Control",6.06118893923209,0.233184265476712,5.40454753577005,6.82582595734405,58.1818181818182 +"Ceno",4.08986278179111,0.324190024917866,3.37754718933983,4.87268428707495,58.1818181818182 +"Co_Inoc",5.08205021012667,0.258980836428859,4.44434234333542,5.83241119386722,58.1818181818182 +"Pilo",6.84233376585865,0.201184460163336,6.10068625081101,7.04147316650604,58.1818181818182 +"Control",6.0911898042423,0.250215860182627,5.46441028019078,6.86813467967875,58.8282828282828 +"Ceno",4.1057023097678,0.330461699862611,3.39447912990851,4.89415197489875,58.8282828282828 +"Co_Inoc",5.09713263139278,0.265929663057314,4.4610635273995,5.85116801239864,58.8282828282828 +"Pilo",6.86789980485736,0.17615605955803,6.1229543837028,7.05495174790656,58.8282828282828 +"Control",6.12534020534484,0.271126004968673,5.52221107163796,6.89871495887674,59.4747474747475 +"Ceno",4.11980465853015,0.337327599460931,3.4000907970823,4.91112555773867,59.4747474747475 +"Co_Inoc",5.11189391060402,0.274728671275589,4.48083673185586,5.8690204314292,59.4747474747475 +"Pilo",6.88921593209721,0.15510067184148,6.14839150968864,7.071276047171,59.4747474747475 +"Control",6.16451464440216,0.296814204458622,5.58314118643775,6.92327272240088,60.1212121212121 +"Ceno",4.1295632008952,0.343726334249084,3.40455284429534,4.92075335252437,60.1212121212121 +"Co_Inoc",5.12663124789859,0.283825795943454,4.49297325879812,5.88655219695667,60.1212121212121 +"Pilo",6.90769899719466,0.136967146366089,6.17032065336606,7.09036175990651,60.1212121212121 +"Control",6.20914516528159,0.330426333516449,5.6397426433937,6.94376600572743,60.7676767676767 +"Ceno",4.13687997841507,0.349050989187866,3.40543014043241,4.93076094821548,60.7676767676767 +"Co_Inoc",5.14042176482155,0.293314890772918,4.49961296990732,5.90524956466949,60.7676767676767 +"Pilo",6.92364196123068,0.122226740473329,6.19712423112806,7.11347046296787,60.7676767676767 +"Control",6.25966126227417,0.367164359386853,5.68894051986671,6.95994738862839,61.4141414141414 +"Ceno",4.1403153728473,0.353943146170149,3.3991028110822,4.94054571279962,61.4141414141414 +"Co_Inoc",5.15413366720932,0.303064512525295,4.50655548273455,5.91842603358969,61.4141414141414 +"Pilo",6.93700901517489,0.111031205751622,6.22404518425344,7.13806908067525,61.4141414141414 +"Control",6.31603922880574,0.405408080860462,5.73521293989508,6.97325826949212,62.060606060606 +"Ceno",4.14326278598709,0.361517775673238,3.38651754372418,4.94854194261113,62.060606060606 +"Co_Inoc",5.16775894510399,0.314841145074601,4.51544605178712,5.93345151592982,62.060606060606 +"Pilo",6.94845394072263,0.101929652643624,6.25102309822817,7.17107539572319,62.060606060606 +"Control",6.37837613273059,0.442027732670263,5.77546369251923,6.98411581320159,62.7070707070707 +"Ceno",4.14618637403353,0.36997853925607,3.37212501531005,4.95804892557858,62.7070707070707 +"Co_Inoc",5.18257179787794,0.328942932823707,4.52143024579892,5.94993307021558,62.7070707070707 +"Pilo",6.95843556977116,0.0961663570095557,6.27772313882592,7.20853203588045,62.7070707070707 +"Control",6.44197126423359,0.466815280890734,5.81146025843778,6.99340456184693,63.3535353535353 +"Ceno",4.14612256630999,0.376405819450505,3.35931144305827,4.96763824467077,63.3535353535353 +"Co_Inoc",5.1962494805379,0.343208244324612,4.52665029441872,5.96423292311315,63.3535353535353 +"Pilo",6.96741115853378,0.0917678458006624,6.30131774251911,7.25068840057972,63.3535353535353 +"Control",6.50892968046963,0.474435186076015,5.84634532249928,7.00301046159464,64 +"Ceno",4.14680886649366,0.384336927016411,3.33521268017435,4.97726549991933,64 +"Co_Inoc",5.21003822872042,0.357548064954137,4.53169663813529,5.97750223626836,64 +"Pilo",6.97511507498292,0.0893360953552552,6.33298077737197,7.30159532994088,64 diff --git a/runs/2_timeseries_data_figure2/overall_treatment_effects.csv b/runs/2_timeseries_data_figure2/overall_treatment_effects.csv new file mode 100644 index 0000000000000000000000000000000000000000..a6adf09ed9365caf3f6d1a85e9a993da27958f0c --- /dev/null +++ b/runs/2_timeseries_data_figure2/overall_treatment_effects.csv @@ -0,0 +1,5 @@ +"Treatment","estimate_absolute","se","lower_absolute","upper_absolute","estimate_relative","lower_relative","upper_relative","Significant" +"Control",3.75158564355395,0.30341765154836,3.08962655148966,4.27991445006125,0.269119327398317,-0.392839764665974,0.797448133905616,FALSE +"Ceno",2.43735227620854,0.310976910164312,2.01642282012821,2.99497488017923,-1.04511403994709,-1.46604349602742,-0.487491435976401,TRUE +"Co_Inoc",3.04927506522306,0.21381284865162,2.53520651345949,3.61145133992785,-0.433191250932575,-0.947259802696141,0.128985023772215,FALSE +"Pilo",4.69165227963698,0.295340289419153,4.06884731164184,5.1051039569049,1.20918596348135,0.586380995486205,1.62263764074927,TRUE diff --git a/runs/2_timeseries_data_figure2/pairwise_treatment_differences_over_time.csv b/runs/2_timeseries_data_figure2/pairwise_treatment_differences_over_time.csv new file mode 100644 index 0000000000000000000000000000000000000000..8cdf769c6dcfcbf1089bffa37d60f87fea7f9deb --- /dev/null +++ b/runs/2_timeseries_data_figure2/pairwise_treatment_differences_over_time.csv @@ -0,0 +1,337 @@ +"Treatment1","Treatment2","Day","Lower_CI","Upper_CI","Significant" +"Control","Ceno",1,-0.451457270897427,0.456986421218777,FALSE +"Control","Ceno",2,-0.433555803202072,0.499372568967781,FALSE +"Control","Ceno",3,-0.39911810746248,0.528344084553497,FALSE +"Control","Ceno",4,-0.403581292859638,0.563012841159034,FALSE +"Control","Ceno",5,-0.387893910968961,0.605432880518236,FALSE +"Control","Ceno",6,-0.359595525795215,0.653389871592022,FALSE +"Control","Ceno",7,-0.331151281442587,0.706403726446051,FALSE +"Control","Ceno",8,-0.311612654673526,0.725257041574412,FALSE +"Control","Ceno",9,-0.287951897746883,0.788728464533112,FALSE +"Control","Ceno",10,-0.265288360966752,0.823153820510419,FALSE +"Control","Ceno",11,-0.230346646036908,0.875804377888864,FALSE +"Control","Ceno",12,-0.206016580413988,0.911247153922843,FALSE +"Control","Ceno",13,-0.18044745923957,0.965631377732721,FALSE +"Control","Ceno",14,-0.149211051023936,1.00701291242108,FALSE +"Control","Ceno",15,-0.131576571812378,1.07246120842776,FALSE +"Control","Ceno",16,-0.0953640253118755,1.10765478084532,FALSE +"Control","Ceno",17,-0.0721826346774987,1.16937059865205,FALSE +"Control","Ceno",18,-0.0433458212532108,1.23577972592057,FALSE +"Control","Ceno",19,-0.0189743301176382,1.27906212323871,FALSE +"Control","Ceno",20,-0.000265918910210477,1.32584898132087,FALSE +"Control","Ceno",21,0.000234905339681213,1.37811129239435,TRUE +"Control","Ceno",22,0.000794497034788855,1.44849330977222,TRUE +"Control","Ceno",23,0.00270423073281286,1.48101720701645,TRUE +"Control","Ceno",24,0.0102290807879163,1.55160478560075,TRUE +"Control","Ceno",25,0.0144787340659799,1.60016782886135,TRUE +"Control","Ceno",26,0.0259090838986493,1.65858827850301,TRUE +"Control","Ceno",27,0.0331536778627803,1.6887895144168,TRUE +"Control","Ceno",28,0.0531955215885896,1.74293361929252,TRUE +"Control","Ceno",29,0.0840829186498575,1.80269950452777,TRUE +"Control","Ceno",30,0.113508038915903,1.84647016433538,TRUE +"Control","Ceno",31,0.129406278290115,1.90228417362712,TRUE +"Control","Ceno",32,0.169740578542798,1.95232261325328,TRUE +"Control","Ceno",33,0.219442845986923,2.00245709546416,TRUE +"Control","Ceno",34,0.273627839754105,2.05622784005959,TRUE +"Control","Ceno",35,0.308858888737219,2.09900097052919,TRUE +"Control","Ceno",36,0.345775326012486,2.14067672648433,TRUE +"Control","Ceno",37,0.386331671016255,2.20070837665152,TRUE +"Control","Ceno",38,0.475815409726479,2.23407602609287,TRUE +"Control","Ceno",39,0.544071043068301,2.28092526150178,TRUE +"Control","Ceno",40,0.593237735271612,2.31341239553282,TRUE +"Control","Ceno",41,0.640157484603125,2.36307115928134,TRUE +"Control","Ceno",42,0.64846510066871,2.40654024888478,TRUE +"Control","Ceno",43,0.715382794072599,2.45091201279563,TRUE +"Control","Ceno",44,0.786565623751711,2.48618128293671,TRUE +"Control","Ceno",45,0.838069928649515,2.51903675919273,TRUE +"Control","Ceno",46,0.869396637787954,2.57195844707212,TRUE +"Control","Ceno",47,0.920102289976396,2.60983408508368,TRUE +"Control","Ceno",48,0.944203484955021,2.6451206349763,TRUE +"Control","Ceno",49,1.00641557143417,2.6820279033171,TRUE +"Control","Ceno",50,0.996537842355477,2.70727420576762,TRUE +"Control","Ceno",51,1.06901627338313,2.75057713144616,TRUE +"Control","Ceno",52,1.108146399039,2.78768929169563,TRUE +"Control","Ceno",53,1.1397162832314,2.802306715692,TRUE +"Control","Ceno",54,1.14273100448169,2.8601908993988,TRUE +"Control","Ceno",55,1.19997620540516,2.88671792145613,TRUE +"Control","Ceno",56,1.19239865478174,2.90395730453563,TRUE +"Control","Co_Inoc",1,-0.374744741062177,0.580108637304945,FALSE +"Control","Co_Inoc",2,-0.379154538634878,0.607003098720323,FALSE +"Control","Co_Inoc",3,-0.391481384976995,0.615477362630809,FALSE +"Control","Co_Inoc",4,-0.373726034450857,0.655512450589331,FALSE +"Control","Co_Inoc",5,-0.380099347561315,0.673548917028968,FALSE +"Control","Co_Inoc",6,-0.387268719739566,0.724185634185638,FALSE +"Control","Co_Inoc",7,-0.379824667606972,0.724256617058589,FALSE +"Control","Co_Inoc",8,-0.383009367567156,0.761663111632505,FALSE +"Control","Co_Inoc",9,-0.376147146154344,0.7907578650542,FALSE +"Control","Co_Inoc",10,-0.370665137977153,0.799881952857275,FALSE +"Control","Co_Inoc",11,-0.367501149602725,0.861736281078886,FALSE +"Control","Co_Inoc",12,-0.360878599413309,0.868145461692,FALSE +"Control","Co_Inoc",13,-0.354865307609181,0.885540161576774,FALSE +"Control","Co_Inoc",14,-0.346506768126562,0.935163521858954,FALSE +"Control","Co_Inoc",15,-0.336469859874516,0.945300196357242,FALSE +"Control","Co_Inoc",16,-0.328490407645879,0.978582817763826,FALSE +"Control","Co_Inoc",17,-0.334951984402659,0.998601007501876,FALSE +"Control","Co_Inoc",18,-0.324168505489457,1.0349430384292,FALSE +"Control","Co_Inoc",19,-0.314817172360206,1.06656055073177,FALSE +"Control","Co_Inoc",20,-0.301164880450501,1.08503184393873,FALSE +"Control","Co_Inoc",21,-0.305636171763087,1.1345477888703,FALSE +"Control","Co_Inoc",22,-0.290107067276102,1.14035160100923,FALSE +"Control","Co_Inoc",23,-0.276229494301942,1.17622677226754,FALSE +"Control","Co_Inoc",24,-0.265951776464252,1.19379203880659,FALSE +"Control","Co_Inoc",25,-0.263174350665261,1.22856434434825,FALSE +"Control","Co_Inoc",26,-0.247259303687205,1.24891732680298,FALSE +"Control","Co_Inoc",27,-0.229075811676554,1.27644124250859,FALSE +"Control","Co_Inoc",28,-0.223763085007654,1.30551284292417,FALSE +"Control","Co_Inoc",29,-0.209426993511265,1.31904908078932,FALSE +"Control","Co_Inoc",30,-0.192470971539527,1.3680844337684,FALSE +"Control","Co_Inoc",31,-0.175267567964172,1.38728627500989,FALSE +"Control","Co_Inoc",32,-0.171556504357114,1.39606558615273,FALSE +"Control","Co_Inoc",33,-0.154843217864406,1.42398521188788,FALSE +"Control","Co_Inoc",34,-0.144094190999105,1.442354638982,FALSE +"Control","Co_Inoc",35,-0.124451683425012,1.46278568859667,FALSE +"Control","Co_Inoc",36,-0.116103949288444,1.48595069750618,FALSE +"Control","Co_Inoc",37,-0.103188981248666,1.5083773026833,FALSE +"Control","Co_Inoc",38,-0.0871661254164852,1.52392672046857,FALSE +"Control","Co_Inoc",39,-0.0774268705600982,1.55025705763142,FALSE +"Control","Co_Inoc",40,-0.0586764621471915,1.56119672886463,FALSE +"Control","Co_Inoc",41,-0.0473621096723253,1.56816060059208,FALSE +"Control","Co_Inoc",42,-0.0334074444178976,1.58560436497218,FALSE +"Control","Co_Inoc",43,-0.0216293167609138,1.59444199407183,FALSE +"Control","Co_Inoc",44,-0.00562454310372697,1.60723912904694,FALSE +"Control","Co_Inoc",45,0.00837084901141525,1.62874812929816,TRUE +"Control","Co_Inoc",46,0.0221834134984344,1.63352207605443,TRUE +"Control","Co_Inoc",47,0.03716703565275,1.64574261386281,TRUE +"Control","Co_Inoc",48,0.0521619054238829,1.66857708416562,TRUE +"Control","Co_Inoc",49,0.0639735906664569,1.67526398301646,TRUE +"Control","Co_Inoc",50,0.0772783296490152,1.67227371963381,TRUE +"Control","Co_Inoc",51,0.0861307769538297,1.66686985015283,TRUE +"Control","Co_Inoc",52,0.101465336674273,1.68297353787694,TRUE +"Control","Co_Inoc",53,0.113189576140511,1.68611002527121,TRUE +"Control","Co_Inoc",54,0.125202975846497,1.71132993488214,TRUE +"Control","Co_Inoc",55,0.141450114861873,1.71326835230429,TRUE +"Control","Co_Inoc",56,0.148623052417572,1.7121574858487,TRUE +"Control","Pilo",1,-0.968264558732039,0.0691138214048196,FALSE +"Control","Pilo",2,-0.977358855967296,0.084146610631444,FALSE +"Control","Pilo",3,-1.00895149682909,0.0862791195169039,FALSE +"Control","Pilo",4,-1.05651080562666,0.0823084144931129,FALSE +"Control","Pilo",5,-1.06238194493134,0.0821935310226986,FALSE +"Control","Pilo",6,-1.09062623258676,0.0843239761100454,FALSE +"Control","Pilo",7,-1.12454559621688,0.0939183904729059,FALSE +"Control","Pilo",8,-1.12350349179882,0.0857306896246715,FALSE +"Control","Pilo",9,-1.1646068773064,0.0875314557639375,FALSE +"Control","Pilo",10,-1.19169283803042,0.0868690312383304,FALSE +"Control","Pilo",11,-1.21479290093153,0.0886916122016485,FALSE +"Control","Pilo",12,-1.23300407119722,0.0830129966824602,FALSE +"Control","Pilo",13,-1.24494095842445,0.0806868004119185,FALSE +"Control","Pilo",14,-1.27627514355889,0.0786403643901239,FALSE +"Control","Pilo",15,-1.29400649263579,0.0778397798384395,FALSE +"Control","Pilo",16,-1.3254677207083,0.0740372051349966,FALSE +"Control","Pilo",17,-1.3481381556104,0.0748399562222664,FALSE +"Control","Pilo",18,-1.37136194222391,0.0636869279153992,FALSE +"Control","Pilo",19,-1.38191965319527,0.072083538595119,FALSE +"Control","Pilo",20,-1.40645129528241,0.0659649120358951,FALSE +"Control","Pilo",21,-1.4176514070777,0.0668874399223721,FALSE +"Control","Pilo",22,-1.4278300474252,0.0637056707179538,FALSE +"Control","Pilo",23,-1.45160654202912,0.057994874437094,FALSE +"Control","Pilo",24,-1.46611680426944,0.0519256635869477,FALSE +"Control","Pilo",25,-1.46689814441107,0.048546874986484,FALSE +"Control","Pilo",26,-1.4895660801497,0.0408133236689809,FALSE +"Control","Pilo",27,-1.49723612610034,0.0336734878933332,FALSE +"Control","Pilo",28,-1.5153083038474,0.025016374898456,FALSE +"Control","Pilo",29,-1.51230096087526,0.0223191070402204,FALSE +"Control","Pilo",30,-1.53530542207451,0.0144053303373808,FALSE +"Control","Pilo",31,-1.54326133119326,0.00804965459755368,FALSE +"Control","Pilo",32,-1.54716922422088,0.000729255290626322,FALSE +"Control","Pilo",33,-1.5436506234913,-0.00138998628931378,TRUE +"Control","Pilo",34,-1.56553612499419,-0.00291372231557379,TRUE +"Control","Pilo",35,-1.55695700350635,-0.00660036022520576,TRUE +"Control","Pilo",36,-1.57520898229248,-0.0130179196780604,TRUE +"Control","Pilo",37,-1.57755336918317,-0.0204338177072556,TRUE +"Control","Pilo",38,-1.58082346152401,-0.0256671811560148,TRUE +"Control","Pilo",39,-1.57930333215655,-0.030304909936192,TRUE +"Control","Pilo",40,-1.58048906156429,-0.0364207032098144,TRUE +"Control","Pilo",41,-1.57670569463652,-0.0406323870393945,TRUE +"Control","Pilo",42,-1.58818268021008,-0.0434290794909873,TRUE +"Control","Pilo",43,-1.5879280202404,-0.049389261283399,TRUE +"Control","Pilo",44,-1.58642240003892,-0.0529444035032771,TRUE +"Control","Pilo",45,-1.57307298597577,-0.0560363451897209,TRUE +"Control","Pilo",46,-1.58633435443998,-0.0621666205689788,TRUE +"Control","Pilo",47,-1.55983642063325,-0.0637423872919934,TRUE +"Control","Pilo",48,-1.54805353444929,-0.0676571493049754,TRUE +"Control","Pilo",49,-1.55289229153689,-0.0716664149993878,TRUE +"Control","Pilo",50,-1.54425638446276,-0.0745522327159967,TRUE +"Control","Pilo",51,-1.5395634918544,-0.0761407294827353,TRUE +"Control","Pilo",52,-1.53177820576544,-0.0764888598911641,TRUE +"Control","Pilo",53,-1.52186629944837,-0.0809001069432113,TRUE +"Control","Pilo",54,-1.50749763388146,-0.0850288933736769,TRUE +"Control","Pilo",55,-1.51845331654267,-0.0868699699579552,TRUE +"Control","Pilo",56,-1.50030477048502,-0.0818680212407695,TRUE +"Ceno","Co_Inoc",1,-0.331579937367432,0.526182163576913,FALSE +"Ceno","Co_Inoc",2,-0.350140814322355,0.51563595358311,FALSE +"Ceno","Co_Inoc",3,-0.382165731368566,0.502348201733793,FALSE +"Ceno","Co_Inoc",4,-0.401441727064064,0.497651667516877,FALSE +"Ceno","Co_Inoc",5,-0.431443835736307,0.48327353808952,FALSE +"Ceno","Co_Inoc",6,-0.453308649767314,0.466354806685186,FALSE +"Ceno","Co_Inoc",7,-0.492271131699579,0.468819015953355,FALSE +"Ceno","Co_Inoc",8,-0.524368345175504,0.45782726663636,FALSE +"Ceno","Co_Inoc",9,-0.546640496747904,0.436675813585915,FALSE +"Ceno","Co_Inoc",10,-0.592499900664179,0.423979825216005,FALSE +"Ceno","Co_Inoc",11,-0.60612250804487,0.402179073024482,FALSE +"Ceno","Co_Inoc",12,-0.636334927733162,0.394607842054096,FALSE +"Ceno","Co_Inoc",13,-0.654478583893889,0.399468988139881,FALSE +"Ceno","Co_Inoc",14,-0.694138949472498,0.379032830428308,FALSE +"Ceno","Co_Inoc",15,-0.731878329730664,0.361052268289669,FALSE +"Ceno","Co_Inoc",16,-0.743863698037158,0.354399677500637,FALSE +"Ceno","Co_Inoc",17,-0.789992449470782,0.331168267655494,FALSE +"Ceno","Co_Inoc",18,-0.807815829692087,0.312459839985748,FALSE +"Ceno","Co_Inoc",19,-0.840562774064132,0.302124693808162,FALSE +"Ceno","Co_Inoc",20,-0.878128085520979,0.290263915335648,FALSE +"Ceno","Co_Inoc",21,-0.905228842489862,0.269616662331128,FALSE +"Ceno","Co_Inoc",22,-0.950611592141402,0.254709933118289,FALSE +"Ceno","Co_Inoc",23,-0.986494308471398,0.23344078510779,FALSE +"Ceno","Co_Inoc",24,-1.01504794001238,0.214878499816356,FALSE +"Ceno","Co_Inoc",25,-1.06204186967472,0.194536918616128,FALSE +"Ceno","Co_Inoc",26,-1.07144831500928,0.184463969220339,FALSE +"Ceno","Co_Inoc",27,-1.11908216863065,0.157830804515369,FALSE +"Ceno","Co_Inoc",28,-1.1642342329625,0.138061685649916,FALSE +"Ceno","Co_Inoc",29,-1.17389566256621,0.120387190932546,FALSE +"Ceno","Co_Inoc",30,-1.21692465674427,0.101651250068576,FALSE +"Ceno","Co_Inoc",31,-1.26564401190574,0.0809930862892636,FALSE +"Ceno","Co_Inoc",32,-1.28015892696165,0.0609346566948568,FALSE +"Ceno","Co_Inoc",33,-1.32112192887273,0.0394291916276599,FALSE +"Ceno","Co_Inoc",34,-1.35327295968677,0.0222348367950847,FALSE +"Ceno","Co_Inoc",35,-1.38519717833403,0.00291544851828387,FALSE +"Ceno","Co_Inoc",36,-1.41360513054284,-0.00101878390746666,TRUE +"Ceno","Co_Inoc",37,-1.4485278609216,-0.00351922434259312,TRUE +"Ceno","Co_Inoc",38,-1.48059962961567,-0.00899823520910984,TRUE +"Ceno","Co_Inoc",39,-1.51083132701868,-0.020820309280118,TRUE +"Ceno","Co_Inoc",40,-1.55082346541379,-0.0341683774312296,TRUE +"Ceno","Co_Inoc",41,-1.59437470390349,-0.0444932276695136,TRUE +"Ceno","Co_Inoc",42,-1.60654382245941,-0.067342480191451,TRUE +"Ceno","Co_Inoc",43,-1.63632474959549,-0.0966296487496339,TRUE +"Ceno","Co_Inoc",44,-1.6749691225795,-0.110022995950144,TRUE +"Ceno","Co_Inoc",45,-1.69838032921323,-0.157042721917846,TRUE +"Ceno","Co_Inoc",46,-1.72683732289577,-0.174923612263859,TRUE +"Ceno","Co_Inoc",47,-1.75465267842064,-0.206263657470466,TRUE +"Ceno","Co_Inoc",48,-1.78155628407301,-0.221183034659986,TRUE +"Ceno","Co_Inoc",49,-1.81691572484335,-0.249599917205595,TRUE +"Ceno","Co_Inoc",50,-1.838340647221,-0.267008966566946,TRUE +"Ceno","Co_Inoc",51,-1.86155090866374,-0.301370791357002,TRUE +"Ceno","Co_Inoc",52,-1.89537973406896,-0.316094399607999,TRUE +"Ceno","Co_Inoc",53,-1.91151897352545,-0.349452785255072,TRUE +"Ceno","Co_Inoc",54,-1.93817655629239,-0.380276259701337,TRUE +"Ceno","Co_Inoc",55,-1.96590319817746,-0.411758855177554,TRUE +"Ceno","Co_Inoc",56,-1.98133997331051,-0.439471212658646,TRUE +"Ceno","Pilo",1,-0.96444165838959,0.0731739944455593,FALSE +"Ceno","Pilo",2,-1.00158600003433,0.0493544759632023,FALSE +"Ceno","Pilo",3,-1.05899502254199,0.0257284730895155,FALSE +"Ceno","Pilo",4,-1.11860371264015,0.00992377062653842,FALSE +"Ceno","Pilo",5,-1.14696398352751,2.60314217333975e-06,FALSE +"Ceno","Pilo",6,-1.2416193699826,-2.92172546130621e-05,TRUE +"Ceno","Pilo",7,-1.29115925249676,-0.000130700733358985,TRUE +"Ceno","Pilo",8,-1.3611834482623,-0.000469910253841485,TRUE +"Ceno","Pilo",9,-1.40281101598912,-0.00164045060002421,TRUE +"Ceno","Pilo",10,-1.47383272618893,-0.00261348190481495,TRUE +"Ceno","Pilo",11,-1.54871656575481,-0.00307735353715772,TRUE +"Ceno","Pilo",12,-1.60789544332224,-0.0055870607958285,TRUE +"Ceno","Pilo",13,-1.64811869071381,-0.00773143860864874,TRUE +"Ceno","Pilo",14,-1.72137122330126,-0.0104308622227814,TRUE +"Ceno","Pilo",15,-1.77105011283232,-0.0162025707854977,TRUE +"Ceno","Pilo",16,-1.83293977363568,-0.0231826570589533,TRUE +"Ceno","Pilo",17,-1.90555032754225,-0.026299690429352,TRUE +"Ceno","Pilo",18,-1.96108990613814,-0.0380258246419894,TRUE +"Ceno","Pilo",19,-2.02345703330762,-0.0554811623215311,TRUE +"Ceno","Pilo",20,-2.07487754314484,-0.0726545034827993,TRUE +"Ceno","Pilo",21,-2.13261437628654,-0.0963606753393929,TRUE +"Ceno","Pilo",22,-2.19857403561326,-0.138452425738275,TRUE +"Ceno","Pilo",23,-2.2660564888162,-0.187982367857982,TRUE +"Ceno","Pilo",24,-2.3016803117329,-0.221541867543078,TRUE +"Ceno","Pilo",25,-2.38003122075388,-0.266031463355368,TRUE +"Ceno","Pilo",26,-2.42906814033759,-0.334426436579959,TRUE +"Ceno","Pilo",27,-2.4779576860722,-0.405924158992284,TRUE +"Ceno","Pilo",28,-2.53166503992983,-0.474869477220614,TRUE +"Ceno","Pilo",29,-2.57548803142362,-0.517404894254082,TRUE +"Ceno","Pilo",30,-2.63699218516142,-0.631915383786257,TRUE +"Ceno","Pilo",31,-2.69852289828636,-0.702495111900839,TRUE +"Ceno","Pilo",32,-2.72299001302154,-0.737275908022349,TRUE +"Ceno","Pilo",33,-2.7805207460795,-0.849055541547006,TRUE +"Ceno","Pilo",34,-2.82186045892862,-0.931543779145374,TRUE +"Ceno","Pilo",35,-2.87845645256332,-0.969606889693575,TRUE +"Ceno","Pilo",36,-2.91861433858552,-1.03565781700978,TRUE +"Ceno","Pilo",37,-2.96726571561052,-1.06505590320051,TRUE +"Ceno","Pilo",38,-3.0176865491909,-1.19888359131042,TRUE +"Ceno","Pilo",39,-3.0641909551641,-1.21796564281865,TRUE +"Ceno","Pilo",40,-3.09897656231889,-1.31640708501569,TRUE +"Ceno","Pilo",41,-3.14770677898734,-1.34952173286476,TRUE +"Ceno","Pilo",42,-3.18183416044503,-1.4252750671174,TRUE +"Ceno","Pilo",43,-3.23200824790639,-1.4592159236777,TRUE +"Ceno","Pilo",44,-3.27274204961009,-1.50468253001755,TRUE +"Ceno","Pilo",45,-3.30578006006786,-1.59388311242668,TRUE +"Ceno","Pilo",46,-3.34052403145071,-1.59376067157242,TRUE +"Ceno","Pilo",47,-3.38997567823955,-1.65645080543779,TRUE +"Ceno","Pilo",48,-3.41618705143264,-1.66487412155717,TRUE +"Ceno","Pilo",49,-3.45430146187045,-1.72716431235735,TRUE +"Ceno","Pilo",50,-3.48271905398446,-1.75040739247494,TRUE +"Ceno","Pilo",51,-3.53571607555628,-1.74584727820643,TRUE +"Ceno","Pilo",52,-3.55907872850174,-1.79453057148028,TRUE +"Ceno","Pilo",53,-3.59567348344263,-1.83851033590099,TRUE +"Ceno","Pilo",54,-3.6432718530854,-1.86253930129897,TRUE +"Ceno","Pilo",55,-3.66495766182999,-1.89805357769153,TRUE +"Ceno","Pilo",56,-3.69453189966358,-1.91899728186224,TRUE +"Pilo","Co_Inoc",1,-0.00829256580590761,1.04386375829179,FALSE +"Pilo","Co_Inoc",2,-0.00444068168965291,1.07090014492104,FALSE +"Pilo","Co_Inoc",3,-0.000733756036635404,1.12692917402131,FALSE +"Pilo","Co_Inoc",4,6.31324248490108e-07,1.16884703924248,TRUE +"Pilo","Co_Inoc",5,5.56444460014238e-06,1.19795253834032,TRUE +"Pilo","Co_Inoc",6,1.54640210337009e-05,1.23140658302732,TRUE +"Pilo","Co_Inoc",7,4.16967079400366e-05,1.2613556357033,TRUE +"Pilo","Co_Inoc",8,0.000139662330144097,1.32309757932139,TRUE +"Pilo","Co_Inoc",9,0.000277497308627944,1.33757737487661,TRUE +"Pilo","Co_Inoc",10,0.000471316530414628,1.39645566057787,TRUE +"Pilo","Co_Inoc",11,0.000610037467438906,1.42907831322369,TRUE +"Pilo","Co_Inoc",12,0.00217033900573025,1.47286265082116,TRUE +"Pilo","Co_Inoc",13,0.00314509899072675,1.48830615544308,TRUE +"Pilo","Co_Inoc",14,0.00441505253277043,1.5540560168644,TRUE +"Pilo","Co_Inoc",15,0.0108665089881851,1.58026283349689,TRUE +"Pilo","Co_Inoc",16,0.0126591616950834,1.63718583359092,TRUE +"Pilo","Co_Inoc",17,0.0174690158245141,1.65738331725628,TRUE +"Pilo","Co_Inoc",18,0.0189260272755379,1.69184889343729,TRUE +"Pilo","Co_Inoc",19,0.0350757231652126,1.73081067310085,TRUE +"Pilo","Co_Inoc",20,0.0476381645611045,1.77865706513596,TRUE +"Pilo","Co_Inoc",21,0.067419571282364,1.8038095909634,TRUE +"Pilo","Co_Inoc",22,0.0888839798499165,1.85310701992148,TRUE +"Pilo","Co_Inoc",23,0.113896808478348,1.88376893748024,TRUE +"Pilo","Co_Inoc",24,0.15463002412977,1.91538269081973,TRUE +"Pilo","Co_Inoc",25,0.175233880275797,1.93997787926199,TRUE +"Pilo","Co_Inoc",26,0.228947251987207,1.96612959796216,TRUE +"Pilo","Co_Inoc",27,0.259602947151089,2.00439191131915,TRUE +"Pilo","Co_Inoc",28,0.283889548527276,2.02625404084643,TRUE +"Pilo","Co_Inoc",29,0.295013735226231,2.05433897826311,TRUE +"Pilo","Co_Inoc",30,0.358587782606191,2.07898811107885,TRUE +"Pilo","Co_Inoc",31,0.389058530444569,2.09903273833238,TRUE +"Pilo","Co_Inoc",32,0.409004776527671,2.13364146618554,TRUE +"Pilo","Co_Inoc",33,0.465050532540358,2.15930532656531,TRUE +"Pilo","Co_Inoc",34,0.51271155564425,2.18195842138303,TRUE +"Pilo","Co_Inoc",35,0.532622483567255,2.22145009915702,TRUE +"Pilo","Co_Inoc",36,0.564232147730243,2.22546604564309,TRUE +"Pilo","Co_Inoc",37,0.580180194873869,2.24966600153367,TRUE +"Pilo","Co_Inoc",38,0.611924955432412,2.25984968558983,TRUE +"Pilo","Co_Inoc",39,0.63133764719342,2.28838921220175,TRUE +"Pilo","Co_Inoc",40,0.646167296161997,2.31309534424924,TRUE +"Pilo","Co_Inoc",41,0.687172145488601,2.33224807470371,TRUE +"Pilo","Co_Inoc",42,0.724702358095486,2.34641480091153,TRUE +"Pilo","Co_Inoc",43,0.726298870908657,2.36430658612171,TRUE +"Pilo","Co_Inoc",44,0.748834615230805,2.38841060439595,TRUE +"Pilo","Co_Inoc",45,0.755887303065962,2.38593289626244,TRUE +"Pilo","Co_Inoc",46,0.769450834268547,2.41068052701225,TRUE +"Pilo","Co_Inoc",47,0.776371506056993,2.42151645685909,TRUE +"Pilo","Co_Inoc",48,0.804915600680162,2.42783922427744,TRUE +"Pilo","Co_Inoc",49,0.807628605505593,2.44203932477424,TRUE +"Pilo","Co_Inoc",50,0.821468610593464,2.43988527698565,TRUE +"Pilo","Co_Inoc",51,0.820293894709928,2.46071019335235,TRUE +"Pilo","Co_Inoc",52,0.829803700863557,2.46094832580031,TRUE +"Pilo","Co_Inoc",53,0.8401886363905,2.46139035232705,TRUE +"Pilo","Co_Inoc",54,0.851171051014411,2.49300876153795,TRUE +"Pilo","Co_Inoc",55,0.84522969305191,2.47670460919566,TRUE +"Pilo","Co_Inoc",56,0.862460119877953,2.47735566414307,TRUE diff --git a/runs/2_timeseries_data_figure2/significance_days.csv b/runs/2_timeseries_data_figure2/significance_days.csv new file mode 100644 index 0000000000000000000000000000000000000000..a57a023bdb990bb492be93f2ba3b9e6e90b83c2d --- /dev/null +++ b/runs/2_timeseries_data_figure2/significance_days.csv @@ -0,0 +1,7 @@ +"Treatment1","Treatment2","First_Significant_Day" +"Control","Ceno",21 +"Control","Pilo",33 +"Control","Co_Inoc",45 +"Ceno","Pilo",6 +"Ceno","Co_Inoc",36 +"Pilo","Co_Inoc",4 diff --git a/runs/2_timeseries_data_figure2/stage_duration_wilcoxon.csv b/runs/2_timeseries_data_figure2/stage_duration_wilcoxon.csv new file mode 100644 index 0000000000000000000000000000000000000000..e61da70a4134a7152ff9fb886426decb975a2668 --- /dev/null +++ b/runs/2_timeseries_data_figure2/stage_duration_wilcoxon.csv @@ -0,0 +1,25 @@ +"group1","group2","n1","n2","statistic","p","p.adj","p.adj.signif","stage" +"Ceno","Co_Inoc",25,23,385,0.045,0.0675,"ns","A" +"Ceno","Control",25,21,393.5,0.004,0.012,"*","A" +"Ceno","Pilo",25,27,540.5,2e-04,0.0012,"**","A" +"Co_Inoc","Control",23,21,292,0.238,0.2856,"ns","A" +"Co_Inoc","Pilo",23,27,427.5,0.022,0.044,"*","A" +"Control","Pilo",21,27,325,0.392,0.392,"ns","A" +"Ceno","Co_Inoc",10,18,102,0.572,0.7236,"ns","B" +"Ceno","Control",10,18,89,0.98,0.98,"ns","B" +"Ceno","Pilo",10,23,144.5,0.226,0.678,"ns","B" +"Co_Inoc","Control",18,18,145.5,0.603,0.7236,"ns","B" +"Co_Inoc","Pilo",18,23,231,0.518,0.7236,"ns","B" +"Control","Pilo",18,23,259.5,0.149,0.678,"ns","B" +"Ceno","Co_Inoc",14,23,65.5,0.002,0.012,"*","C" +"Ceno","Control",14,24,118,0.117,0.234,"ns","C" +"Ceno","Pilo",14,29,108,0.008,0.024,"*","C" +"Co_Inoc","Control",23,24,314.5,0.409,0.4908,"ns","C" +"Co_Inoc","Pilo",23,29,388,0.301,0.4515,"ns","C" +"Control","Pilo",24,29,333.5,0.797,0.797,"ns","C" +"Ceno","Co_Inoc",23,31,420.5,0.263,0.3156,"ns","D" +"Ceno","Control",23,27,437,0.013,0.078,"ns","D" +"Ceno","Pilo",23,35,534.5,0.034,0.102,"ns","D" +"Co_Inoc","Control",31,27,522.5,0.102,0.204,"ns","D" +"Co_Inoc","Pilo",31,35,635.5,0.229,0.3156,"ns","D" +"Control","Pilo",27,35,413,0.392,0.392,"ns","D" diff --git a/runs/3_additional_analyses_SI/Correlation_Plot.pdf b/runs/3_additional_analyses_SI/Correlation_Plot.pdf new file mode 100644 index 0000000000000000000000000000000000000000..ca381a0fe453098da7f416c25a89d1a297499c75 Binary files /dev/null and b/runs/3_additional_analyses_SI/Correlation_Plot.pdf differ diff --git a/runs/3_additional_analyses_SI/Randomization_Plot.pdf b/runs/3_additional_analyses_SI/Randomization_Plot.pdf new file mode 100644 index 0000000000000000000000000000000000000000..b4b559c4cd966878349ea995bdbd533a36fd66fa Binary files /dev/null and b/runs/3_additional_analyses_SI/Randomization_Plot.pdf differ diff --git a/runs/3_additional_analyses_SI/Resource_Allocation_Proportions.pdf b/runs/3_additional_analyses_SI/Resource_Allocation_Proportions.pdf new file mode 100644 index 0000000000000000000000000000000000000000..a0a0f3d35be384681d56774655ae7c8d06a4304e Binary files /dev/null and b/runs/3_additional_analyses_SI/Resource_Allocation_Proportions.pdf differ diff --git a/runs/3_additional_analyses_SI/SI_session_info.txt b/runs/3_additional_analyses_SI/SI_session_info.txt new file mode 100644 index 0000000000000000000000000000000000000000..eeacb131f26fcfce548bb097b39213cbd18dc72a --- /dev/null +++ b/runs/3_additional_analyses_SI/SI_session_info.txt @@ -0,0 +1,32 @@ +R version 4.4.1 (2024-06-14) +Platform: aarch64-apple-darwin20 +Running under: macOS Sonoma 14.6.1 + +Matrix products: default +BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib +LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0 + +locale: +[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 + +time zone: Europe/Zurich +tzcode source: internal + +attached base packages: +[1] stats graphics grDevices utils datasets methods base + +other attached packages: + [1] patchwork_1.2.0 ggpubr_0.6.0 corrplot_0.94 psych_2.4.12 viridis_0.6.5 + [6] viridisLite_0.4.2 lubridate_1.9.3 forcats_1.0.0 stringr_1.5.1 dplyr_1.1.4 +[11] purrr_1.0.2 readr_2.1.5 tidyr_1.3.1 tibble_3.2.1 ggplot2_3.5.1 +[16] tidyverse_2.0.0 + +loaded via a namespace (and not attached): + [1] utf8_1.2.4 generics_0.1.3 rstatix_0.7.2 stringi_1.8.4 lattice_0.22-6 + [6] hms_1.1.3 magrittr_2.0.3 grid_4.4.1 timechange_0.3.0 backports_1.5.0 +[11] gridExtra_2.3 fansi_1.0.6 scales_1.3.0 abind_1.4-5 mnormt_2.1.1 +[16] cli_3.6.3 rlang_1.1.4 munsell_0.5.1 withr_3.0.1 tools_4.4.1 +[21] parallel_4.4.1 tzdb_0.4.0 ggsignif_0.6.4 colorspace_2.1-1 broom_1.0.6 +[26] vctrs_0.6.5 R6_2.5.1 lifecycle_1.0.4 car_3.1-2 pkgconfig_2.0.3 +[31] pillar_1.9.0 gtable_0.3.5 glue_1.8.0 tidyselect_1.2.1 rstudioapi_0.16.0 +[36] nlme_3.1-166 carData_3.0-5 compiler_4.4.1 diff --git a/runs/3_additional_analyses_SI/Spearman_R.csv b/runs/3_additional_analyses_SI/Spearman_R.csv new file mode 100644 index 0000000000000000000000000000000000000000..11ba36bba635f6f5bb6b7416a541e910191883f6 --- /dev/null +++ b/runs/3_additional_analyses_SI/Spearman_R.csv @@ -0,0 +1,40 @@ +var,nSF,n_L_SF1,n_L_SF2,Shoot_Length_Init,Shoot_Length,Delta_Length,FW_Plant,DW_Plant,FW_Shoot,DW_Shoot,FW_Stem,DW_Stem,FW_L_SF1,DW_L_SF1,FW_L_SF2,DW_L_SF2,DW_L_Rest,FW_Bud,DW_Bud,FW_Roots_Total,DW_Roots_Total,FW_PR,DW_PR,FW_LR,DW_LR,A_L_SF1,A_L_SF2,N_Ceno,N_Pilo,Length_Tot,Area_Tot,Diameter_Avg,Root_Vol,Tips,Forks,Crossings,Length_Fine,SA_Fine,Vol_Fine +nSF,1,-0.2909351171829085,-0.32049661212218017,0.3923126585913846,-0.08247860988423225,-0.3303685546032712,0.1649572197684645,0.24743582965269675,0.24743582965269675,0.329914439536929,0.1649572197684645,0.329914439536929,0.08247860988423225,-0.20619652471058064,0.4948716593053935,0.45363235436327737,0,0.24743582965269675,0.10469228644697122,0.28867513459481287,0.37115374447904514,0.28867513459481287,0.329914439536929,0.28867513459481287,0.24743582965269675,-0.12371791482634838,0.5361109642475097,-0.3687083775950658,0.1952106623114296,0.1649572197684645,0.28867513459481287,0.041239304942116126,0.28867513459481287,0.24743582965269675,0.20619652471058064,0.20619652471058064,0.1649572197684645,0.24743582965269675,0.1649572197684645 +n_L_SF1,-0.2909351171829085,1,0.5005366996671884,-0.20453047137652752,0.10436097138069876,0.10749046670883199,0.08647051914400755,-0.06858006690731634,0.12523316565683854,0.20275845868250048,0.2713385255898168,0.24748458927422853,0.06261658282841927,0.3548273026943758,-0.12225142361738998,-0.10436097138069876,0.05963484078897073,0.1639958121696695,-0.11505804864012195,0.11926968157794146,0.11628793953849291,0.19381323256415486,0.18188626440636071,0.205740200721949,-0.1997767166430519,0.23555762111643436,-0.18486800644580925,-0.24306616774209291,-0.016130737111932483,0.08348877710455901,-0.13119664973573558,-0.372717754931067,-0.36377252881272143,0.24450284723477997,0.14610535993297827,0.24450284723477997,0.10436097138069876,-0.1878497484852578,-0.26239329947147116 +n_L_SF2,-0.32049661212218017,0.5005366996671884,1,-0.6057672258530741,0.04554801360814863,0.4218990561235528,0.29890883930347534,-0.14518429337597374,0.33591660036009613,0.2846750850509289,0.24197382229328956,0.05408826615967649,0.24766732399430816,0.3900048665197726,0.10817653231935298,-0.002846750850509289,-0.29890883930347534,0.019927255953565027,-0.11996675036084593,-0.07116877126273223,-0.08540252551527867,0.2789815833499103,0.06832202041222293,-0.04839476445865792,-0.38715811566926334,0.3672308597156983,0.24482057314379888,0.11378520558970345,-0.0019250571052596968,-0.4241658767258841,-0.4298593784269027,0.22774006804074315,-0.2903685867519475,-0.2903685867519475,-0.3416101020611147,-0.32452959695805894,-0.38431136481875405,-0.4583268869319955,-0.43555288012792126 +Shoot_Length_Init,0.3923126585913846,-0.20453047137652752,-0.6057672258530741,1,0.4319123755863727,-0.1763085399449036,0.2255848076310991,-0.12379654077316414,0.18431929404004438,0.21458067067348452,0.3191199717708231,0.3988999647135289,-0.1265475750125678,-0.10729033533674226,0.16781308860362248,0.16781308860362248,0.3108668690526122,0.3163689375314195,0.3436089332506785,0.5722151217959587,0.4594227179804091,0.2558461842645392,0.3768916907982997,0.28335652665857575,0.3878958277559143,-0.2255848076310991,0.09628619837912766,-0.28357948808983896,-0.0334859526437751,0.4594227179804091,0.6272358065840317,-0.11279240381554954,0.5034392658108675,0.38514479351651065,0.26685032122215385,0.2943606636161903,0.4154061701499508,0.5337006424443077,0.4731778891774274 +Shoot_Length,-0.08247860988423225,0.10436097138069876,0.04554801360814863,0.4319123755863727,1,0.7867957924694432,0.7252747252747253,0.09890109890109891,0.7472527472527474,0.7032967032967032,0.7582417582417583,0.7307692307692308,0.31868131868131866,0.4560439560439561,0.3681318681318681,0.1813186813186813,0.4395604395604396,-0.19780219780219782,-0.030687014648519934,0.5714285714285714,0.631868131868132,0.554945054945055,0.5329670329670331,0.47802197802197804,0.565934065934066,0.35714285714285715,0.2087912087912088,-0.46235051089299134,0.4681589334958621,0.5329670329670331,0.576923076923077,-0.14835164835164835,0.47802197802197804,0.4120879120879121,0.2692307692307692,0.37912087912087916,0.47802197802197804,0.4835164835164835,0.25824175824175827 +Delta_Length,-0.3303685546032712,0.10749046670883199,0.4218990561235528,-0.1763085399449036,0.7867957924694432,1,0.6822564913721046,0.21458067067348452,0.6795054571327009,0.5969744299505915,0.5667130533171515,0.44566754678339093,0.3411282456860523,0.4511696152621982,0.39614893047412525,0.19532343099765898,0.2310868761099064,-0.36588755384068516,-0.2248822693225985,0.2558461842645392,0.3741406565588961,0.44016547830458363,0.3108668690526122,0.33562617720724497,0.4209082386287581,0.42916134134696904,0.26685032122215385,-0.24451496677134074,0.4911273054420348,0.21458067067348452,0.2503441157857319,0.060522753266880246,0.28610756089797934,0.1045393010973386,0.055020684788072954,0.1375517119701824,0.17606619132183343,0.18707032827944806,0.046767582069862014 +FW_Plant,0.1649572197684645,0.08647051914400755,0.29890883930347534,0.2255848076310991,0.7252747252747253,0.6822564913721046,1,0.11538461538461539,0.9065934065934066,0.8791208791208792,0.8901098901098902,0.7527472527472527,0.22527472527472528,0.33516483516483514,0.6813186813186813,0.47252747252747257,0.23076923076923078,0.25824175824175827,0.3096598750896103,0.7362637362637362,0.6868131868131868,0.9285714285714286,0.7802197802197803,0.40659340659340665,0.4285714285714286,0.2802197802197802,0.6813186813186813,-0.29763814138736316,0.4272879154922551,0.3076923076923077,0.565934065934066,0.19780219780219782,0.7197802197802198,0.29120879120879123,0.16483516483516483,0.2087912087912088,0.27472527472527475,0.4010989010989011,0.4395604395604396 +DW_Plant,0.24743582965269675,-0.06858006690731634,-0.14518429337597374,-0.12379654077316414,0.09890109890109891,0.21458067067348452,0.11538461538461539,1,0.17032967032967034,0.31868131868131866,-0.049450549450549455,0.16483516483516483,-0.13736263736263737,-0.09890109890109891,0.4010989010989011,0.4175824175824176,0.1043956043956044,-0.20329670329670332,-0.053004843483807164,-0.021978021978021976,0.4945054945054945,0.049450549450549455,0.23076923076923078,0.25824175824175827,0.598901098901099,-0.06593406593406594,0.24175824175824176,-0.17049175089179056,0.6576518351489491,0.631868131868132,0.39560439560439564,-0.46703296703296704,0.005494505494505494,0.6208791208791209,0.7527472527472527,0.7252747252747253,0.6538461538461539,0.5714285714285714,0.27472527472527475 +FW_Shoot,0.24743582965269675,0.12523316565683854,0.33591660036009613,0.18431929404004438,0.7472527472527474,0.6795054571327009,0.9065934065934066,0.17032967032967034,1,0.9505494505494505,0.9010989010989011,0.8296703296703297,0.554945054945055,0.5879120879120879,0.6098901098901099,0.3736263736263737,0.23076923076923078,-0.005494505494505494,0.0920610439455598,0.5604395604395604,0.6428571428571429,0.8186813186813187,0.6978021978021979,0.2967032967032967,0.2967032967032967,0.5824175824175825,0.6483516483516484,-0.3409835017835811,0.4904522160432841,0.33516483516483514,0.37912087912087916,-0.010989010989010988,0.5054945054945056,0.3241758241758242,0.1758241758241758,0.2527472527472528,0.3076923076923077,0.2802197802197802,0.1813186813186813 +DW_Shoot,0.329914439536929,0.20275845868250048,0.2846750850509289,0.21458067067348452,0.7032967032967032,0.5969744299505915,0.8791208791208792,0.31868131868131866,0.9505494505494505,1,0.8956043956043956,0.9065934065934066,0.4450549450549451,0.5604395604395604,0.6263736263736264,0.4340659340659341,0.22527472527472528,0.12087912087912088,0.20922964533081775,0.5824175824175825,0.7637362637362638,0.8351648351648352,0.7802197802197803,0.3626373626373626,0.39560439560439564,0.4945054945054945,0.6373626373626373,-0.43634329465526056,0.6204963642365791,0.46703296703296704,0.4835164835164835,-0.11538461538461539,0.5274725274725275,0.47802197802197804,0.35714285714285715,0.4285714285714286,0.45054945054945056,0.4450549450549451,0.3131868131868132 +FW_Stem,0.1649572197684645,0.2713385255898168,0.24197382229328956,0.3191199717708231,0.7582417582417583,0.5667130533171515,0.8901098901098902,-0.049450549450549455,0.9010989010989011,0.8956043956043956,1,0.9230769230769231,0.4450549450549451,0.5879120879120879,0.40659340659340665,0.1813186813186813,0.40659340659340665,0.2197802197802198,0.31523933229843204,0.6813186813186813,0.6483516483516484,0.8791208791208792,0.7857142857142857,0.3131868131868132,0.24725274725274726,0.4945054945054945,0.4395604395604396,-0.36988040871439304,0.3715547091237001,0.34615384615384615,0.4560439560439561,0.03296703296703297,0.598901098901099,0.34615384615384615,0.15384615384615385,0.2527472527472528,0.3131868131868132,0.34065934065934067,0.3516483516483516 +DW_Stem,0.329914439536929,0.24748458927422853,0.05408826615967649,0.3988999647135289,0.7307692307692308,0.44566754678339093,0.7527472527472527,0.16483516483516483,0.8296703296703297,0.9065934065934066,0.9230769230769231,1,0.4340659340659341,0.5714285714285714,0.38461538461538464,0.20329670329670332,0.4175824175824176,0.1263736263736264,0.2761831318366794,0.6373626373626373,0.7472527472527474,0.7692307692307693,0.7802197802197803,0.39010989010989017,0.39010989010989017,0.46703296703296704,0.3681318681318681,-0.546151540992346,0.5721942520504981,0.576923076923077,0.554945054945055,-0.23076923076923078,0.5329670329670331,0.5824175824175825,0.4175824175824176,0.5164835164835165,0.554945054945055,0.5329670329670331,0.38461538461538464 +FW_L_SF1,0.08247860988423225,0.06261658282841927,0.24766732399430816,-0.1265475750125678,0.31868131868131866,0.3411282456860523,0.22527472527472528,-0.13736263736263737,0.554945054945055,0.4450549450549451,0.4450549450549451,0.4340659340659341,1,0.8571428571428572,-0.021978021978021976,-0.1758241758241758,0.08241758241758242,-0.47252747252747257,-0.3375571611337193,-0.2087912087912088,0.010989010989010988,0.15384615384615385,0.08241758241758242,-0.3021978021978022,-0.3131868131868132,0.9505494505494505,0.11538461538461539,-0.09824948356476067,0.22293282547422003,-0.09340659340659342,-0.35714285714285715,-0.11538461538461539,-0.038461538461538464,-0.14835164835164835,-0.24725274725274726,-0.14285714285714285,-0.12087912087912088,-0.32967032967032966,-0.4340659340659341 +DW_L_SF1,-0.20619652471058064,0.3548273026943758,0.3900048665197726,-0.10729033533674226,0.4560439560439561,0.4511696152621982,0.33516483516483514,-0.09890109890109891,0.5879120879120879,0.5604395604395604,0.5879120879120879,0.5714285714285714,0.8571428571428572,1,-0.1043956043956044,-0.22527472527472528,0.13186813186813187,-0.27472527472527475,-0.086481586736738,-0.09890109890109891,0.16483516483516483,0.27472527472527475,0.24725274725274726,-0.29120879120879123,-0.2692307692307692,0.9450549450549451,0.010989010989010988,-0.08091133940627349,0.3083904085726711,0.07692307692307693,-0.22527472527472528,-0.24725274725274726,0.005494505494505494,0.027472527472527476,-0.07142857142857142,0.03296703296703297,0.06043956043956044,-0.14285714285714285,-0.23076923076923078 +FW_L_SF2,0.4948716593053935,-0.12225142361738998,0.10817653231935298,0.16781308860362248,0.3681318681318681,0.39614893047412525,0.6813186813186813,0.4010989010989011,0.6098901098901099,0.6263736263736264,0.40659340659340665,0.38461538461538464,-0.021978021978021976,-0.1043956043956044,1,0.9395604395604396,-0.24725274725274726,0.1813186813186813,-0.04184592906616355,0.6043956043956044,0.48901098901098905,0.5604395604395604,0.38461538461538464,0.6153846153846154,0.6098901098901099,-0.07142857142857142,0.9175824175824175,-0.5085855619822904,0.44215010385720305,0.2692307692307692,0.5164835164835165,0.09340659340659342,0.5494505494505495,0.2802197802197802,0.2802197802197802,0.27472527472527475,0.24725274725274726,0.3516483516483516,0.2857142857142857 +DW_L_SF2,0.45363235436327737,-0.10436097138069876,-0.002846750850509289,0.16781308860362248,0.1813186813186813,0.19532343099765898,0.47252747252747257,0.4175824175824176,0.3736263736263737,0.4340659340659341,0.1813186813186813,0.20329670329670332,-0.1758241758241758,-0.22527472527472528,0.9395604395604396,1,-0.45054945054945056,0.22527472527472528,-0.06695348650586168,0.5054945054945056,0.39560439560439564,0.37912087912087916,0.24175824175824176,0.5604395604395604,0.5934065934065934,-0.2087912087912088,0.8296703296703297,-0.5085855619822904,0.419856821309781,0.27472527472527475,0.48901098901098905,-0.027472527472527476,0.47802197802197804,0.2857142857142857,0.34615384615384615,0.3076923076923077,0.25824175824175827,0.34065934065934067,0.26373626373626374 +DW_L_Rest,0,0.05963484078897073,-0.29890883930347534,0.3108668690526122,0.4395604395604396,0.2310868761099064,0.23076923076923078,0.1043956043956044,0.23076923076923078,0.22527472527472528,0.40659340659340665,0.4175824175824176,0.08241758241758242,0.13186813186813187,-0.24725274725274726,-0.45054945054945056,1,-0.010989010989010988,0.259444760210214,0.1813186813186813,0.38461538461538464,0.2527472527472528,0.4285714285714286,0.09340659340659342,0.2087912087912088,0.0879120879120879,-0.33516483516483514,0.07513195802011109,-0.011146641273711002,0.35714285714285715,0.3241758241758242,-0.005494505494505494,0.16483516483516483,0.2967032967032967,0.17032967032967034,0.2802197802197802,0.3241758241758242,0.34615384615384615,0.3736263736263737 +FW_Bud,0.24743582965269675,0.1639958121696695,0.019927255953565027,0.3163689375314195,-0.19780219780219782,-0.36588755384068516,0.25824175824175827,-0.20329670329670332,-0.005494505494505494,0.12087912087912088,0.2197802197802198,0.1263736263736264,-0.47252747252747257,-0.27472527472527475,0.1813186813186813,0.22527472527472528,-0.010989010989010988,1,0.7699650948174094,0.45054945054945056,0.20329670329670332,0.4395604395604396,0.40659340659340665,0.06043956043956044,-0.06593406593406594,-0.4450549450549451,0.2967032967032967,0.11847731841632902,-0.3083904085726711,-0.1098901098901099,0.25824175824175827,0.39010989010989017,0.4175824175824176,0,-0.038461538461538464,-0.08241758241758242,-0.09890109890109891,0.16483516483516483,0.5604395604395604 +DW_Bud,0.10469228644697122,-0.11505804864012195,-0.11996675036084593,0.3436089332506785,-0.030687014648519934,-0.2248822693225985,0.3096598750896103,-0.053004843483807164,0.0920610439455598,0.20922964533081775,0.31523933229843204,0.2761831318366794,-0.3375571611337193,-0.086481586736738,-0.04184592906616355,-0.06695348650586168,0.259444760210214,0.7699650948174094,1,0.3682441757822392,0.345926346946952,0.4686744055410318,0.5551559922777697,-0.19528100230876322,-0.0027897286044109033,-0.2538653030013922,0.12553778719849065,0.33598522914774726,-0.06602739416929758,0.14506588742936696,0.39056200461752644,0.27060367462785767,0.5272587062336608,0.1701734448690651,0.14227615882495606,0.06416375790145078,0.1645939876602433,0.4547257625189773,0.7727548234218202 +FW_Roots_Total,0.28867513459481287,0.11926968157794146,-0.07116877126273223,0.5722151217959587,0.5714285714285714,0.2558461842645392,0.7362637362637362,-0.021978021978021976,0.5604395604395604,0.5824175824175825,0.6813186813186813,0.6373626373626373,-0.2087912087912088,-0.09890109890109891,0.6043956043956044,0.5054945054945056,0.1813186813186813,0.45054945054945056,0.3682441757822392,1,0.5879120879120879,0.7472527472527474,0.631868131868132,0.7032967032967032,0.5604395604395604,-0.19230769230769232,0.521978021978022,-0.5432618502992648,0.21921727838298305,0.47802197802197804,0.7857142857142857,0.010989010989010988,0.6813186813186813,0.521978021978022,0.3736263736263737,0.39560439560439564,0.4560439560439561,0.5714285714285714,0.576923076923077 +DW_Roots_Total,0.37115374447904514,0.11628793953849291,-0.08540252551527867,0.4594227179804091,0.631868131868132,0.3741406565588961,0.6868131868131868,0.4945054945054945,0.6428571428571429,0.7637362637362638,0.6483516483516484,0.7472527472527474,0.010989010989010988,0.16483516483516483,0.48901098901098905,0.39560439560439564,0.38461538461538464,0.20329670329670332,0.345926346946952,0.5879120879120879,1,0.7472527472527474,0.9065934065934066,0.4340659340659341,0.6483516483516484,0.07142857142857142,0.3626373626373626,-0.37565979010055545,0.6687984764226601,0.7197802197802198,0.7912087912087913,-0.2527472527472528,0.543956043956044,0.7142857142857143,0.6373626373626373,0.6648351648351649,0.7032967032967032,0.7527472527472527,0.5 +FW_PR,0.28867513459481287,0.19381323256415486,0.2789815833499103,0.2558461842645392,0.554945054945055,0.44016547830458363,0.9285714285714286,0.049450549450549455,0.8186813186813187,0.8351648351648352,0.8791208791208792,0.7692307692307693,0.15384615384615385,0.27472527472527475,0.5604395604395604,0.37912087912087916,0.2527472527472528,0.4395604395604396,0.4686744055410318,0.7472527472527474,0.7472527472527474,1,0.9120879120879122,0.34065934065934067,0.3021978021978022,0.2142857142857143,0.6043956043956044,-0.2542927809911452,0.37898580330617404,0.29120879120879123,0.5604395604395604,0.1758241758241758,0.6813186813186813,0.34615384615384615,0.19780219780219782,0.22527472527472528,0.27472527472527475,0.39010989010989017,0.4450549450549451 +DW_PR,0.329914439536929,0.18188626440636071,0.06832202041222293,0.3768916907982997,0.5329670329670331,0.3108668690526122,0.7802197802197803,0.23076923076923078,0.6978021978021979,0.7802197802197803,0.7857142857142857,0.7802197802197803,0.08241758241758242,0.24725274725274726,0.38461538461538464,0.24175824175824176,0.4285714285714286,0.40659340659340665,0.5551559922777697,0.631868131868132,0.9065934065934066,0.9120879120879122,1,0.25824175824175827,0.3736263736263737,0.15934065934065933,0.38461538461538464,-0.19071958574335893,0.475590027678336,0.5,0.6593406593406593,-0.027472527472527476,0.6098901098901099,0.5384615384615384,0.4120879120879121,0.4340659340659341,0.48901098901098905,0.576923076923077,0.521978021978022 +FW_LR,0.28867513459481287,0.205740200721949,-0.04839476445865792,0.28335652665857575,0.47802197802197804,0.33562617720724497,0.40659340659340665,0.25824175824175827,0.2967032967032967,0.3626373626373626,0.3131868131868132,0.39010989010989017,-0.3021978021978022,-0.29120879120879123,0.6153846153846154,0.5604395604395604,0.09340659340659342,0.06043956043956044,-0.19528100230876322,0.7032967032967032,0.4340659340659341,0.34065934065934067,0.25824175824175827,1,0.7527472527472527,-0.34065934065934067,0.34065934065934067,-0.8177824661419784,0.34554587948504106,0.4560439560439561,0.631868131868132,-0.14285714285714285,0.26373626373626374,0.5109890109890111,0.4395604395604396,0.5054945054945056,0.4395604395604396,0.46703296703296704,0.23076923076923078 +DW_LR,0.24743582965269675,-0.1997767166430519,-0.38715811566926334,0.3878958277559143,0.565934065934066,0.4209082386287581,0.4285714285714286,0.598901098901099,0.2967032967032967,0.39560439560439564,0.24725274725274726,0.39010989010989017,-0.3131868131868132,-0.2692307692307692,0.6098901098901099,0.5934065934065934,0.2087912087912088,-0.06593406593406594,-0.0027897286044109033,0.5604395604395604,0.6483516483516484,0.3021978021978022,0.3736263736263737,0.7527472527472527,1,-0.31868131868131866,0.3076923076923077,-0.6039453548539699,0.6427896467840011,0.7362637362637362,0.8681318681318682,-0.23626373626373628,0.5274725274725275,0.6428571428571429,0.6758241758241759,0.6868131868131868,0.7032967032967032,0.8241758241758242,0.554945054945055 +A_L_SF1,-0.12371791482634838,0.23555762111643436,0.3672308597156983,-0.2255848076310991,0.35714285714285715,0.42916134134696904,0.2802197802197802,-0.06593406593406594,0.5824175824175825,0.4945054945054945,0.4945054945054945,0.46703296703296704,0.9505494505494505,0.9450549450549451,-0.07142857142857142,-0.2087912087912088,0.0879120879120879,-0.4450549450549451,-0.2538653030013922,-0.19230769230769232,0.07142857142857142,0.2142857142857143,0.15934065934065933,-0.34065934065934067,-0.31868131868131866,1,0.06043956043956044,-0.037565979010055546,0.29724376729896007,0.005494505494505494,-0.3241758241758242,-0.23626373626373628,-0.06593406593406594,-0.038461538461538464,-0.1263736263736264,-0.03296703296703297,-0.010989010989010988,-0.2692307692307692,-0.37912087912087916 +A_L_SF2,0.5361109642475097,-0.18486800644580925,0.24482057314379888,0.09628619837912766,0.2087912087912088,0.26685032122215385,0.6813186813186813,0.24175824175824176,0.6483516483516484,0.6373626373626373,0.4395604395604396,0.3681318681318681,0.11538461538461539,0.010989010989010988,0.9175824175824175,0.8296703296703297,-0.33516483516483514,0.2967032967032967,0.12553778719849065,0.521978021978022,0.3626373626373626,0.6043956043956044,0.38461538461538464,0.34065934065934067,0.3076923076923077,0.06043956043956044,1,-0.28318968792195715,0.29724376729896007,0.06043956043956044,0.3131868131868132,0.24175824175824176,0.5329670329670331,0.1043956043956044,0.0879120879120879,0.05494505494505495,0.05494505494505495,0.1813186813186813,0.24175824175824176 +N_Ceno,-0.3687083775950658,-0.24306616774209291,0.11378520558970345,-0.28357948808983896,-0.46235051089299134,-0.24451496677134074,-0.29763814138736316,-0.17049175089179056,-0.3409835017835811,-0.43634329465526056,-0.36988040871439304,-0.546151540992346,-0.09824948356476067,-0.08091133940627349,-0.5085855619822904,-0.5085855619822904,0.07513195802011109,0.11847731841632902,0.33598522914774726,-0.5432618502992648,-0.37565979010055545,-0.2542927809911452,-0.19071958574335893,-0.8177824661419784,-0.6039453548539699,-0.037565979010055546,-0.28318968792195715,0.9999999999999999,-0.5334677429619582,-0.48257834574455966,-0.4767989643583973,0.38432886217979906,-0.23984432752573925,-0.5114752526753716,-0.44212267604142297,-0.5317030875269401,-0.45946082019991014,-0.37277009940747424,-0.04623505108929913 +N_Pilo,0.1952106623114296,-0.016130737111932483,-0.0019250571052596968,-0.0334859526437751,0.4681589334958621,0.4911273054420348,0.4272879154922551,0.6576518351489491,0.4904522160432841,0.6204963642365791,0.3715547091237001,0.5721942520504981,0.22293282547422003,0.3083904085726711,0.44215010385720305,0.419856821309781,-0.011146641273711002,-0.3083904085726711,-0.06602739416929758,0.21921727838298305,0.6687984764226601,0.37898580330617404,0.475590027678336,0.34554587948504106,0.6427896467840011,0.29724376729896007,0.29724376729896007,-0.5334677429619582,1,0.6687984764226601,0.5238921398644171,-0.4607278393133881,0.33068369112009305,0.6204963642365791,0.6687984764226601,0.6687984764226601,0.6687984764226601,0.6204963642365791,0.21921727838298305 +Length_Tot,0.1649572197684645,0.08348877710455901,-0.4241658767258841,0.4594227179804091,0.5329670329670331,0.21458067067348452,0.3076923076923077,0.631868131868132,0.33516483516483514,0.46703296703296704,0.34615384615384615,0.576923076923077,-0.09340659340659342,0.07692307692307693,0.2692307692307692,0.27472527472527475,0.35714285714285715,-0.1098901098901099,0.14506588742936696,0.47802197802197804,0.7197802197802198,0.29120879120879123,0.5,0.4560439560439561,0.7362637362637362,0.005494505494505494,0.06043956043956044,-0.48257834574455966,0.6687984764226601,1,0.7912087912087913,-0.7197802197802198,0.3076923076923077,0.9560439560439561,0.9395604395604396,0.9560439560439561,0.9945054945054946,0.8681318681318682,0.5054945054945056 +Area_Tot,0.28867513459481287,-0.13119664973573558,-0.4298593784269027,0.6272358065840317,0.576923076923077,0.2503441157857319,0.565934065934066,0.39560439560439564,0.37912087912087916,0.4835164835164835,0.4560439560439561,0.554945054945055,-0.35714285714285715,-0.22527472527472528,0.5164835164835165,0.48901098901098905,0.3241758241758242,0.25824175824175827,0.39056200461752644,0.7857142857142857,0.7912087912087913,0.5604395604395604,0.6593406593406593,0.631868131868132,0.8681318681318682,-0.3241758241758242,0.3131868131868132,-0.4767989643583973,0.5238921398644171,0.7912087912087913,1,-0.20329670329670332,0.7142857142857143,0.7362637362637362,0.6978021978021979,0.6868131868131868,0.7637362637362638,0.9175824175824175,0.7637362637362638 +Diameter_Avg,0.041239304942116126,-0.372717754931067,0.22774006804074315,-0.11279240381554954,-0.14835164835164835,0.060522753266880246,0.19780219780219782,-0.46703296703296704,-0.010989010989010988,-0.11538461538461539,0.03296703296703297,-0.23076923076923078,-0.11538461538461539,-0.24725274725274726,0.09340659340659342,-0.027472527472527476,-0.005494505494505494,0.39010989010989017,0.27060367462785767,0.010989010989010988,-0.2527472527472528,0.1758241758241758,-0.027472527472527476,-0.14285714285714285,-0.23626373626373628,-0.23626373626373628,0.24175824175824176,0.38432886217979906,-0.4607278393133881,-0.7197802197802198,-0.20329670329670332,1,0.3076923076923077,-0.7417582417582418,-0.7582417582417583,-0.7802197802197803,-0.7417582417582418,-0.34065934065934067,0.1098901098901099 +Root_Vol,0.28867513459481287,-0.36377252881272143,-0.2903685867519475,0.5034392658108675,0.47802197802197804,0.28610756089797934,0.7197802197802198,0.005494505494505494,0.5054945054945056,0.5274725274725275,0.598901098901099,0.5329670329670331,-0.038461538461538464,0.005494505494505494,0.5494505494505495,0.47802197802197804,0.16483516483516483,0.4175824175824176,0.5272587062336608,0.6813186813186813,0.543956043956044,0.6813186813186813,0.6098901098901099,0.26373626373626374,0.5274725274725275,-0.06593406593406594,0.5329670329670331,-0.23984432752573925,0.33068369112009305,0.3076923076923077,0.7142857142857143,0.3076923076923077,1,0.19230769230769232,0.15384615384615385,0.13736263736263737,0.2527472527472528,0.5714285714285714,0.7582417582417583 +Tips,0.24743582965269675,0.24450284723477997,-0.2903685867519475,0.38514479351651065,0.4120879120879121,0.1045393010973386,0.29120879120879123,0.6208791208791209,0.3241758241758242,0.47802197802197804,0.34615384615384615,0.5824175824175825,-0.14835164835164835,0.027472527472527476,0.2802197802197802,0.2857142857142857,0.2967032967032967,0,0.1701734448690651,0.521978021978022,0.7142857142857143,0.34615384615384615,0.5384615384615384,0.5109890109890111,0.6428571428571429,-0.038461538461538464,0.1043956043956044,-0.5114752526753716,0.6204963642365791,0.9560439560439561,0.7362637362637362,-0.7417582417582418,0.19230769230769232,1,0.9615384615384616,0.9725274725274725,0.9725274725274725,0.8021978021978022,0.4340659340659341 +Forks,0.20619652471058064,0.14610535993297827,-0.3416101020611147,0.26685032122215385,0.2692307692307692,0.055020684788072954,0.16483516483516483,0.7527472527472527,0.1758241758241758,0.35714285714285715,0.15384615384615385,0.4175824175824176,-0.24725274725274726,-0.07142857142857142,0.2802197802197802,0.34615384615384615,0.17032967032967034,-0.038461538461538464,0.14227615882495606,0.3736263736263737,0.6373626373626373,0.19780219780219782,0.4120879120879121,0.4395604395604396,0.6758241758241759,-0.1263736263736264,0.0879120879120879,-0.44212267604142297,0.6687984764226601,0.9395604395604396,0.6978021978021979,-0.7582417582417583,0.15384615384615385,0.9615384615384616,1,0.9780219780219781,0.9615384615384616,0.8131868131868133,0.45054945054945056 +Crossings,0.20619652471058064,0.24450284723477997,-0.32452959695805894,0.2943606636161903,0.37912087912087916,0.1375517119701824,0.2087912087912088,0.7252747252747253,0.2527472527472528,0.4285714285714286,0.2527472527472528,0.5164835164835165,-0.14285714285714285,0.03296703296703297,0.27472527472527475,0.3076923076923077,0.2802197802197802,-0.08241758241758242,0.06416375790145078,0.39560439560439564,0.6648351648351649,0.22527472527472528,0.4340659340659341,0.5054945054945056,0.6868131868131868,-0.03296703296703297,0.05494505494505495,-0.5317030875269401,0.6687984764226601,0.9560439560439561,0.6868131868131868,-0.7802197802197803,0.13736263736263737,0.9725274725274725,0.9780219780219781,1,0.967032967032967,0.7857142857142857,0.40659340659340665 +Length_Fine,0.1649572197684645,0.10436097138069876,-0.38431136481875405,0.4154061701499508,0.47802197802197804,0.17606619132183343,0.27472527472527475,0.6538461538461539,0.3076923076923077,0.45054945054945056,0.3131868131868132,0.554945054945055,-0.12087912087912088,0.06043956043956044,0.24725274725274726,0.25824175824175827,0.3241758241758242,-0.09890109890109891,0.1645939876602433,0.4560439560439561,0.7032967032967032,0.27472527472527475,0.48901098901098905,0.4395604395604396,0.7032967032967032,-0.010989010989010988,0.05494505494505495,-0.45946082019991014,0.6687984764226601,0.9945054945054946,0.7637362637362638,-0.7417582417582418,0.2527472527472528,0.9725274725274725,0.9615384615384616,0.967032967032967,1,0.8626373626373627,0.48901098901098905 +SA_Fine,0.24743582965269675,-0.1878497484852578,-0.4583268869319955,0.5337006424443077,0.4835164835164835,0.18707032827944806,0.4010989010989011,0.5714285714285714,0.2802197802197802,0.4450549450549451,0.34065934065934067,0.5329670329670331,-0.32967032967032966,-0.14285714285714285,0.3516483516483516,0.34065934065934067,0.34615384615384615,0.16483516483516483,0.4547257625189773,0.5714285714285714,0.7527472527472527,0.39010989010989017,0.576923076923077,0.46703296703296704,0.8241758241758242,-0.2692307692307692,0.1813186813186813,-0.37277009940747424,0.6204963642365791,0.8681318681318682,0.9175824175824175,-0.34065934065934067,0.5714285714285714,0.8021978021978022,0.8131868131868133,0.7857142857142857,0.8626373626373627,1,0.7912087912087913 +Vol_Fine,0.1649572197684645,-0.26239329947147116,-0.43555288012792126,0.4731778891774274,0.25824175824175827,0.046767582069862014,0.4395604395604396,0.27472527472527475,0.1813186813186813,0.3131868131868132,0.3516483516483516,0.38461538461538464,-0.4340659340659341,-0.23076923076923078,0.2857142857142857,0.26373626373626374,0.3736263736263737,0.5604395604395604,0.7727548234218202,0.576923076923077,0.5,0.4450549450549451,0.521978021978022,0.23076923076923078,0.554945054945055,-0.37912087912087916,0.24175824175824176,-0.04623505108929913,0.21921727838298305,0.5054945054945056,0.7637362637362638,0.1098901098901099,0.7582417582417583,0.4340659340659341,0.45054945054945056,0.40659340659340665,0.48901098901098905,0.7912087912087913,1 diff --git a/runs/3_additional_analyses_SI/Spearman_p.csv b/runs/3_additional_analyses_SI/Spearman_p.csv new file mode 100644 index 0000000000000000000000000000000000000000..856fb07c1f714207498a8a5ac6dc5b1267992177 --- /dev/null +++ b/runs/3_additional_analyses_SI/Spearman_p.csv @@ -0,0 +1,40 @@ +var,nSF,n_L_SF1,n_L_SF2,Shoot_Length_Init,Shoot_Length,Delta_Length,FW_Plant,DW_Plant,FW_Shoot,DW_Shoot,FW_Stem,DW_Stem,FW_L_SF1,DW_L_SF1,FW_L_SF2,DW_L_SF2,DW_L_Rest,FW_Bud,DW_Bud,FW_Roots_Total,DW_Roots_Total,FW_PR,DW_PR,FW_LR,DW_LR,A_L_SF1,A_L_SF2,N_Ceno,N_Pilo,Length_Tot,Area_Tot,Diameter_Avg,Root_Vol,Tips,Forks,Crossings,Length_Fine,SA_Fine,Vol_Fine +nSF,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +n_L_SF1,0.33486119124497316,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +n_L_SF2,0.2856913407523003,0.08148440308957387,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Shoot_Length_Init,0.18487564831866724,0.5026783254364396,0.028216630791249506,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Shoot_Length,0.7887978280460586,0.7343890279929199,0.8825377466723056,0.14053110184653045,-0,0.9908001194509485,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Delta_Length,0.2702600365148612,0.7266941740334484,0.15100636373614656,0.5644924108111397,0.0014174536758954914,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_Plant,0.5902000816113703,0.7787987087543642,0.3211649825618537,0.45867079393927446,0.005023237655349925,0.010194832388344982,-0,1,0.013931821747806663,0.05401906649301096,0.03273418645013951,1,1,1,1,1,1,1,1,1,1,0.003349599625241772,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +DW_Plant,0.41504862894541317,0.8238356999848321,0.6360381899950801,0.6869954200357564,0.7478683035983906,0.48143708867618074,0.7073898735142603,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_Shoot,0.41504862894541317,0.6835313590983583,0.26180701430536013,0.5466338038018766,0.0033267413834299686,0.010626342128568072,1.9296152005272386e-5,0.5779754288392673,-0,4.65823189418638e-4,0.018793669239245074,0.3192529835422645,1,1,1,1,1,1,1,1,1,0.4384177997606057,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +DW_Shoot,0.2709589277132673,0.5064668448104526,0.3458354208064008,0.48143708867618074,0.007318569842104318,0.03123477147634297,7.544562359359073e-5,0.28858316144472024,6.363704773478661e-7,-0,0.02499338610038126,0.013931821747806663,1,1,1,1,1,1,1,1,1,0.2699477369314351,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_Stem,0.5902000816113703,0.36985738831449877,0.42575033037293186,0.2878828323048208,0.002666078612137288,0.043438983331110195,4.5654374407447015e-5,0.8725444288811492,2.6138622029548085e-5,3.48097299448207e-5,-0,0.004974323999441064,1,1,1,1,1,1,1,1,1,0.05401906649301096,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +DW_Stem,0.2709589277132673,0.41495371224570554,0.8606912306764823,0.1769531402161251,0.0045477337439671335,0.12693783617174834,0.0029822333891698473,0.590478988652005,4.502862955462123e-4,1.9296152005272386e-5,6.851685949643339e-6,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_L_SF1,0.7887978280460586,0.8389659491700819,0.4145980939605839,0.6803669766362551,0.28858316144472024,0.25401073441936617,0.45930514272500556,0.6545168402947127,0.049004495598330935,0.12752383613843682,0.12752383613843682,0.13834237788821271,-0,0.12864413708364528,1,1,1,1,1,1,1,1,1,1,1,4.65823189418638e-4,1,1,1,1,1,1,1,1,1,1,1,1,1 +DW_L_SF1,0.4991280865985603,0.23418532955846227,0.18770339099851166,0.7271855626479009,0.11728306543614496,0.12175488699699025,0.26294314035936006,0.7478683035983906,0.03458605834210784,0.04634590589406464,0.03458605834210784,0.04134226737172356,1.809340887252395e-4,-0,1,1,1,1,1,1,1,1,1,1,1,8.204698336376979e-4,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_L_SF2,0.08555564436774868,0.6907273713236497,0.7250103878418662,0.5836890454315045,0.2158571806493815,0.1802350057664944,0.010340409451492871,0.17435746494503276,0.026877834421252005,0.02198860240988963,0.1679783461478961,0.19441291997748622,0.9431862416608072,0.7343037452877027,-0,0.001369243105425444,1,1,1,1,1,1,1,1,1,1,0.007182013355234393,1,1,1,1,1,1,1,1,1,1,1,1 +DW_L_SF2,0.11948151603226087,0.7343890279929199,0.992635831473335,0.5836890454315045,0.5532950092839336,0.5225013271325194,0.10298105029992852,0.15567475363347455,0.20855405979520888,0.13834237788821271,0.5532950092839336,0.5053147342962482,0.5655798619595345,0.45930514272500556,1.8782484299388806e-6,-0,1,1,1,1,1,1,1,1,1,1,0.3192529835422645,1,1,1,1,1,1,1,1,1,1,1,1 +DW_L_Rest,1,0.8465505454458228,0.3211649825618537,0.3012234648563527,0.13286024415692965,0.4474852561081234,0.44812738231536575,0.7343037452877027,0.44812738231536575,0.45930514272500556,0.1679783461478961,0.15567475363347455,0.7889509278475181,0.6676075762175148,0.41540511972553806,0.1223318876780357,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_Bud,0.41504862894541317,0.5923983931778198,0.9484808861768967,0.2922911964687993,0.5171309114848299,0.21888494597210814,0.3942840173973614,0.5053147342962482,0.9857869107140623,0.6940473279966857,0.4706148514721424,0.680785475070949,0.10298105029992852,0.36367498164017825,0.5532950092839336,0.45930514272500556,0.971577682777073,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +DW_Bud,0.7335732901573736,0.708185358854387,0.696257378250772,0.2503489226858668,0.9207278029660827,0.46010860922420654,0.30320350080638525,0.8634579539075821,0.7648481342379855,0.49269415711458797,0.29411248518456395,0.36103085326150663,0.25933776569557865,0.7787710289424246,0.8920326043551793,0.8279572356854088,0.39200622836143717,0.0020787103285920877,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_Roots_Total,0.3388006961962018,0.6979473895858677,0.8172848794796851,0.04099979018175765,0.04134226737172356,0.3988401854392243,0.004107709360574616,0.9431862416608072,0.04634590589406464,0.03674133435865421,0.010340409451492871,0.019118113777463332,0.493621819356885,0.7478683035983906,0.028672705671406933,0.07803332731018377,0.5532950092839336,0.1223318876780357,0.21570634977234887,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +DW_Roots_Total,0.21182138128164318,0.7051908883544694,0.7814708635097442,0.11424883467389672,0.020516042572872414,0.2078784368558635,0.009509496050393565,0.08582353060960754,0.017792450692375672,0.0023766147979084394,0.016536698804267277,0.0033267413834299686,0.971577682777073,0.590478988652005,0.08991308230865631,0.18088916310494071,0.19441291997748622,0.5053147342962482,0.2469567754286046,0.03458605834210784,-0,1,0.013931821747806663,1,1,1,1,1,1,1,0.8950667790222654,1,1,1,1,1,1,1,1 +FW_PR,0.3388006961962018,0.5257852422169538,0.3559843056682245,0.3988401854392243,0.049004495598330935,0.13226549708781862,4.607427269933661e-6,0.8725444288811492,6.209883849300364e-4,3.802080801851198e-4,7.544562359359073e-5,0.00211222959934988,0.6157988686488813,0.36367498164017825,0.04634590589406464,0.20140608996104353,0.4047740712709462,0.13286024415692965,0.10621207443210375,0.0033267413834299686,0.0033267413834299686,-0,0.01010432458362335,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +DW_PR,0.2709589277132673,0.5520323982154222,0.8244892801947213,0.20428742547452727,0.060736503065617856,0.3012234648563527,0.001652500657442944,0.44812738231536575,0.008000717411226533,0.001652500657442944,0.0014541896038438218,0.001652500657442944,0.7889509278475181,0.41540511972553806,0.19441291997748622,0.42617551959450883,0.143971434687836,0.1679783461478961,0.04890046012954402,0.020516042572872414,1.9296152005272386e-5,1.3975552674444468e-5,-0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +FW_LR,0.3388006961962018,0.5000993444908292,0.8752463440162783,0.34817162559162995,0.09849011541638991,0.26224557983406593,0.1679783461478961,0.3942840173973614,0.3249215884859752,0.22331572029248165,0.2974384220710292,0.18757411613383762,0.3156083662499546,0.33438585619752936,0.025167116551899238,0.04634590589406464,0.7615000227827015,0.8445023706449685,0.5225934646559861,0.007318569842104318,0.13834237788821271,0.2547064607541252,0.3942840173973614,-0,1,1,1,0.44904062553955026,1,1,1,1,1,1,1,1,1,1,1 +DW_LR,0.41504862894541317,0.51287057975857,0.19122891901470962,0.1903113383095045,0.04379259223545474,0.1520697531476799,0.143971434687836,0.030554114172937824,0.3249215884859752,0.18088916310494071,0.41540511972553806,0.18757411613383762,0.2974384220710292,0.37373304228189164,0.026877834421252005,0.03252444027009696,0.493621819356885,0.8305423857560938,0.9927833370148137,0.04634590589406464,0.016536698804267277,0.3156083662499546,0.20855405979520888,0.0029822333891698473,-0,1,1,1,1,1,0.08503922769750505,1,1,1,1,1,1,0.37486754618133095,1 +A_L_SF1,0.6871851699928555,0.4384952538051373,0.21706959899876868,0.45867079393927446,0.23092986230203408,0.14336000092471557,0.3537636356336791,0.8305423857560938,0.03674133435865421,0.08582353060960754,0.08582353060960754,0.10760914039913919,6.363704773478661e-7,1.1239312789557506e-6,0.8166280406760861,0.493621819356885,0.7751954088891221,0.12752383613843682,0.40262802308972956,0.5290679872349874,0.8166280406760861,0.4820544547023682,0.6030877531318972,0.2547064607541252,0.28858316144472024,-0,1,1,1,1,1,1,1,1,1,1,1,1,1 +A_L_SF2,0.058947413125598404,0.545419380805818,0.4201556092003751,0.7543476386857775,0.493621819356885,0.37813583791530936,0.010340409451492871,0.42617551959450883,0.016536698804267277,0.019118113777463332,0.13286024415692965,0.2158571806493815,0.7073898735142603,0.971577682777073,9.90622531756468e-6,4.502862955462123e-4,0.26294314035936006,0.3249215884859752,0.682797570269059,0.06729171199351028,0.22331572029248165,0.028672705671406933,0.19441291997748622,0.2547064607541252,0.30644705251252874,0.8445023706449685,-0,1,1,1,1,1,1,1,1,1,1,1,1 +N_Ceno,0.2150836085470566,0.4235991593233436,0.7112884787303586,0.3477759838265755,0.11166266937807531,0.4207544391420641,0.32332633252320986,0.5776082168293962,0.2542253737983046,0.13605238396219185,0.2135162276237262,0.053484066500237126,0.7494815011484794,0.7927318437272454,0.07593388743230843,0.07593388743230843,0.8072771403542253,0.6998699958385065,0.26170344192781647,0.05501780913868012,0.205890658657185,0.4018090436119244,0.5325404019517951,6.369370575029082e-4,0.028823591039354654,0.9030259969404082,0.3484678385130002,1.8915076137698032e-87,1,1,1,1,1,1,1,1,1,1,1 +N_Pilo,0.5227462297079616,0.9582876882287085,0.9950200986260777,0.9135207377596624,0.10664947332473956,0.08832237231543218,0.14530767050110538,0.014563925594387883,0.08882767525808172,0.023649042552059442,0.21128941262528061,0.0410088506299347,0.46410961507522075,0.30529398440068173,0.1303270141901694,0.15320349799286154,0.9711701338242882,0.30529398440068173,0.8303056488609718,0.4717809628217287,0.01243875360670857,0.20157995659741668,0.10046105571591676,0.24751179067334889,0.017808306578882112,0.3239987745495571,0.3239987745495571,0.06044902896288073,-0,1,1,1,1,1,1,1,1,1,1 +Length_Tot,0.5902000816113703,0.7862646364248406,0.14859176451945408,0.11424883467389672,0.060736503065617856,0.48143708867618074,0.30644705251252874,0.020516042572872414,0.26294314035936006,0.10760914039913919,0.24662526251007166,0.038992623432448255,0.7615000227827015,0.8027630076692551,0.37373304228189164,0.36367498164017825,0.23092986230203408,0.7208097995138618,0.6363165153724792,0.09849011541638991,0.005536115775787635,0.33438585619752936,0.08186423116569436,0.11728306543614496,0.004107709360574616,0.9857869107140623,0.8445023706449685,0.09486882135540273,0.01243875360670857,-0,0.8950667790222654,1,1,2.469981400841967e-4,0.001369243105425444,2.469981400841967e-4,2.8968735891366834e-9,0.08503922769750505,1 +Area_Tot,0.3388006961962018,0.6692134326123103,0.14263870097728337,0.021752500035364424,0.038992623432448255,0.40940652990968396,0.04379259223545474,0.18088916310494071,0.20140608996104353,0.09413469259693931,0.11728306543614496,0.049004495598330935,0.23092986230203408,0.45930514272500556,0.0707490406749636,0.08991308230865631,0.2798818688931398,0.3942840173973614,0.1870182444859891,0.0014541896038438218,0.0012750239017411188,0.04634590589406464,0.014225578511456708,0.020516042572872414,1.1910255980042724e-4,0.2798818688931398,0.2974384220710292,0.09947796228473736,0.06611569258231678,0.0012750239017411188,-0,1,1,1,1,1,1,0.007182013355234393,1 +Diameter_Avg,0.8935897294005697,0.20975105136328667,0.45427332715194224,0.7137117223981637,0.6286094178894162,0.8442906791298771,0.5171309114848299,0.10760914039913919,0.971577682777073,0.7073898735142603,0.9148564744875124,0.44812738231536575,0.7073898735142603,0.41540511972553806,0.7615000227827015,0.9290117291603508,0.9857869107140623,0.18757411613383762,0.371206166877733,0.971577682777073,0.4047740712709462,0.5655798619595345,0.9290117291603508,0.6415164215860881,0.4370835438311813,0.4370835438311813,0.42617551959450883,0.19477377430299675,0.11309107395798172,0.005536115775787635,0.5053147342962482,-0,1,1,1,1,1,1,1 +Root_Vol,0.3388006961962018,0.2217620360797719,0.33584636135740775,0.0794513795001381,0.09849011541638991,0.3433070944614317,0.005536115775787635,0.9857869107140623,0.07803332731018377,0.06395489148355483,0.030554114172937824,0.060736503065617856,0.9007243023389337,0.9857869107140623,0.05177062555916262,0.09849011541638991,0.590478988652005,0.15567475363347455,0.06408251709856899,0.010340409451492871,0.05464653454086535,0.010340409451492871,0.026877834421252005,0.3839365166506742,0.06395489148355483,0.8305423857560938,0.060736503065617856,0.4299596081905518,0.26977565790983354,0.30644705251252874,0.006088305245824152,0.30644705251252874,-0,1,1,1,1,1,1 +Tips,0.41504862894541317,0.4207781959814615,0.33584636135740775,0.19374727203670594,0.16175105277252633,0.7339499266784841,0.33438585619752936,0.023538167096433013,0.2798818688931398,0.09849011541638991,0.24662526251007166,0.03674133435865421,0.6286094178894162,0.9290117291603508,0.3537636356336791,0.34400021825866983,0.3249215884859752,1,0.5783294643954504,0.06729171199351028,0.006088305245824152,0.24662526251007166,0.05763443347046612,0.07432891414402139,0.017792450692375672,0.9007243023389337,0.7343037452877027,0.07400711563786341,0.023649042552059442,3.365097276351454e-7,0.004107709360574616,0.0037013137357526185,0.5290679872349874,-0,1.2009813076675027e-4,1.935539319388447e-5,1.935539319388447e-5,0.6810515764892809,1 +Forks,0.4991280865985603,0.6338746323730248,0.2532969717476696,0.37813583791530936,0.37373304228189164,0.85831129497406,0.590478988652005,0.0029822333891698473,0.5655798619595345,0.23092986230203408,0.6157988686488813,0.15567475363347455,0.41540511972553806,0.8166280406760861,0.3537636356336791,0.24662526251007166,0.5779754288392673,0.9007243023389337,0.6428867110035038,0.20855405979520888,0.019118113777463332,0.5171309114848299,0.16175105277252633,0.13286024415692965,0.01122524557766861,0.680785475070949,0.7751954088891221,0.1303536751279594,0.01243875360670857,1.8782484299388806e-6,0.008000717411226533,0.002666078612137288,0.6157988686488813,1.6317680810699765e-7,-0,5.740782383230992e-6,1.2009813076675027e-4,0.5094198374845844,1 +Crossings,0.4991280865985603,0.4207781959814615,0.2793269102522803,0.3289383484629009,0.20140608996104353,0.6540679569539335,0.493621819356885,0.005023237655349925,0.4047740712709462,0.143971434687836,0.4047740712709462,0.0707490406749636,0.6415164215860881,0.9148564744875124,0.36367498164017825,0.30644705251252874,0.3537636356336791,0.7889509278475181,0.8350354319244818,0.18088916310494071,0.013165575845550236,0.45930514272500556,0.13834237788821271,0.07803332731018377,0.009509496050393565,0.9148564744875124,0.8585042942308735,0.06146647638708382,0.01243875360670857,3.365097276351454e-7,0.009509496050393565,0.001652500657442944,0.6545168402947127,2.619133043827398e-8,7.757814031393232e-9,-0,5.2062519348480824e-5,1,1 +Length_Fine,0.5902000816113703,0.7343890279929199,0.19479582456832015,0.15806343358109934,0.09849011541638991,0.5650364026691794,0.36367498164017825,0.015348516732105445,0.30644705251252874,0.1223318876780357,0.2974384220710292,0.049004495598330935,0.6940473279966857,0.8445023706449685,0.41540511972553806,0.3942840173973614,0.2798818688931398,0.7478683035983906,0.5910302538743014,0.11728306543614496,0.007318569842104318,0.36367498164017825,0.08991308230865631,0.13286024415692965,0.007318569842104318,0.971577682777073,0.8585042942308735,0.11421492204430034,0.01243875360670857,3.909411051466509e-12,0.0023766147979084394,0.0037013137357526185,0.4047740712709462,2.619133043827398e-8,1.6317680810699765e-7,7.064113887175146e-8,-0,0.10498287594705227,1 +SA_Fine,0.41504862894541317,0.5388402446951859,0.1152270723102431,0.060315642405867516,0.09413469259693931,0.540556721420366,0.17435746494503276,0.04134226737172356,0.3537636356336791,0.12752383613843682,0.2547064607541252,0.060736503065617856,0.2713350545052358,0.6415164215860881,0.23869970534203358,0.2547064607541252,0.24662526251007166,0.590478988652005,0.11848135849909011,0.04134226737172356,0.0029822333891698473,0.18757411613383762,0.038992623432448255,0.10760914039913919,5.302228375973564e-4,0.37373304228189164,0.5532950092839336,0.20968197885535647,0.023649042552059442,1.1910255980042724e-4,9.90622531756468e-6,0.2547064607541252,0.04134226737172356,9.687789139250085e-4,7.236077236996937e-4,0.0014541896038438218,1.47447859476197e-4,-0,0.8950667790222654 +Vol_Fine,0.5902000816113703,0.3864524032647757,0.13684432838358276,0.1024423066276814,0.3942840173973614,0.8794129823285037,0.13286024415692965,0.36367498164017825,0.5532950092839336,0.2974384220710292,0.23869970534203358,0.19441291997748622,0.13834237788821271,0.44812738231536575,0.34400021825866983,0.3839365166506742,0.20855405979520888,0.04634590589406464,0.0019551336400009047,0.038992623432448255,0.08186423116569436,0.12752383613843682,0.06729171199351028,0.44812738231536575,0.049004495598330935,0.20140608996104353,0.42617551959450883,0.8807772318718408,0.4717809628217287,0.07803332731018377,0.0023766147979084394,0.7208097995138618,0.002666078612137288,0.13834237788821271,0.1223318876780357,0.1679783461478961,0.08991308230865631,0.0012750239017411188,-0 diff --git a/studies/mycorrhization_experiment/README.md b/studies/mycorrhization_experiment/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/studies/mycorrhization_experiment/isa.study.xlsx b/studies/mycorrhization_experiment/isa.study.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..9fe62c82d61de6ce8dc2c732361a7def557a2efc Binary files /dev/null and b/studies/mycorrhization_experiment/isa.study.xlsx differ diff --git a/studies/mycorrhization_experiment/protocols/.gitkeep b/studies/mycorrhization_experiment/protocols/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/studies/mycorrhization_experiment/protocols/mycorrhization_experiment_protocol.md b/studies/mycorrhization_experiment/protocols/mycorrhization_experiment_protocol.md new file mode 100644 index 0000000000000000000000000000000000000000..88689e3ad7b2e2f1372b5b70b9c1aa6b5a099cde --- /dev/null +++ b/studies/mycorrhization_experiment/protocols/mycorrhization_experiment_protocol.md @@ -0,0 +1,5 @@ +**Mycorrhization Experiment Protocol** + +In this experiment, we investigated the inoculation-effects of two ectomycorrhizal fungi (EMF) species with contrasting evolutionary histories, ecological properties, host-preferences, and habitat-ranges on phenotypic responses and growth dynamics of pedunculate oak (Quercus robur), an ecologically and economically important temperate forest tree species. + +We set up the mycorrhization experiment using 96 plants of a genetically uniform Q. robur clone (DF159) and applied four treatments: A control treatment; an inoculation-treatment with the cosmopolitan Ascomycete Cenococcum geophilum, which is commonly found in oak forests; an inoculation-treatment with the Basidiomycete Piloderma croceum, which has not yet been found in natural oak forests but has been shown in previous experiments to support oak growth; and a co-inoculation treatment. We then assessed growth stage development of the trees over eight experimental weeks and measured various phenotypic traits during a destructive sampling. diff --git a/studies/mycorrhization_experiment/resources/.gitkeep b/studies/mycorrhization_experiment/resources/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workflows/1_phenotypic_data_figure_1/.Rhistory b/workflows/1_phenotypic_data_figure_1/.Rhistory new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workflows/1_phenotypic_data_figure_1/figure1_phenotypicdata.R b/workflows/1_phenotypic_data_figure_1/figure1_phenotypicdata.R new file mode 100644 index 0000000000000000000000000000000000000000..48f3acdf45553ae07710b4734e93faaaaecfd929 --- /dev/null +++ b/workflows/1_phenotypic_data_figure_1/figure1_phenotypicdata.R @@ -0,0 +1,484 @@ +# ------------------------------------------------------------------ +# Script Name: figure1_phenotypicdata.R +# Purpose: Reproduces Figure 1 from "An Ectomycorrhizal Fungus Alters Development Stages Within Pedunculate Oak’s Endogenous Growth Rhythm" +# Author: Felix Zimmermann +# Date: 2025-05-07 +# Contact: felix.zimmermann@wsl.ch +# License: CC BY +# ------------------------------------------------------------------ + + +##### BASICS ##### + +# load packages +library(tidyverse) +library(viridis) +library(magick) +library(grid) +library(ggpubr) +library(psych) +library(rstatix) +library(MASS) +library(emmeans) +library(ggbeeswarm) +library(patchwork) + +# check and save session info +sessionInfo() %>% + capture.output(file = "runs/1_phenotypic_data_figure1/Figure1_session_info.txt") + + +##### DATA LOADING, CLEANING & SCALING ##### + +# laod data +pheno_data <- read_csv("assays/3_destructive_sampling/dataset/pheno_data.csv") + +# exclude contaminated and dead plants +pheno_data_final <- subset(pheno_data, Exclude == "no") + + +##### DEFINE BASIC PLOTTING PARAMETERS ##### + +# define treatment labels +treatment_labels <- c( + "Ceno" = expression(italic("Cenococcum geophilum")), + "Pilo" = expression(italic("Piloderma croceum")), + "Co_Inoc" = "Co-Inoculation", + "Control" = "Control" +) + +# define legend order +treatment_order <- c("Control", "Pilo", "Ceno", "Co_Inoc") + +# define custom colors +custom_colors <- c( + "Control" = "#4B8C6F", + "Ceno" = "#8C5E8C", + "Pilo" = "#D6C9A0", + "Co_Inoc" = "#5E96A6" +) + + +##### PLOT DRY WEIGHT COMPARISONS - FIGURE 1B ##### + +### do statistical comparison between treatments for durations of each stage ### + +# do wilcoxon test with Benjamini-Hochberg p adjustment for plant dry weight +stat_test_dw_plant <- pheno_data_final %>% + wilcox_test(DW_Plant ~ Treatment) %>% + adjust_pvalue(method = "BH") %>% + add_significance() + +# save_results +dw_plant_results <- subset(stat_test_dw_plant, select = -c(.y.)) +write.csv( + dw_plant_results, + "runs/1_phenotypic_data_figure1/dw_plant_wilcoxon.csv", + row.names = FALSE +) + + +### plot results ### + +# set plot order +pheno_data_final$Treatment <- factor( + pheno_data_final$Treatment, + levels = treatment_order +) + +# create plot +dw_plant_plot <- ggplot( + pheno_data_final, + aes(x = Treatment, y = DW_Plant, fill = Treatment) +) + + geom_boxplot( + outlier.shape = 16, + outlier.size = 2, + alpha = 0.5, + lwd = 0.5, + aes(color = Treatment) + ) + + scale_fill_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_x_discrete(labels = treatment_labels) + # format x-axis + theme_classic() + + geom_signif( + y_position = c(1.8, 1.94, 1.66), + xmin = c(2, 2, 1), + xmax = c(3, 4, 3), + annotation = c("< 0.001", "0.002", "0.036"), + textsize = 4 + ) + + labs( + title = "b", + x = "Treatment", + y = "Dry Weight (g)" + ) + + theme_pubr() + + theme( + legend.position = "none", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + plot.title = element_text( + face = "bold", + size = 20, + vjust = 2, + hjust = -0.075 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +dw_plant_plot + + +##### PLOT DRY WEIGHT ABOVE AND BELOW GROUND - FIGURE 1C ##### + +### do statistical comparison between treatments for durations of each stage ### + +# do wilcoxon test with Benjamini-Hochberg p adjustment for plant dry weight +stat_test_above <- pheno_data_final %>% + wilcox_test(DW_Shoot ~ Treatment) %>% + adjust_pvalue(method = "BH") %>% + add_significance() +stat_test_above$Part <- "Shoot" +stat_test_below <- pheno_data_final %>% + wilcox_test(DW_Roots_Total ~ Treatment) %>% + adjust_pvalue(method = "BH") %>% + add_significance() +stat_test_below$Part <- "Root" + +# combine results +wilcoxon_results_above_below <- rbind(stat_test_above, stat_test_below) +print(wilcoxon_results_above_below) + +# save_results +wilxcoxon_reuslts_above_below <- subset( + wilcoxon_results_above_below, + select = -c(.y.) +) +write.csv( + wilcoxon_results_above_below, + "runs/1_phenotypic_data_figure1/above_below_ground_wilcoxon.csv", + row.names = FALSE +) + + +### plot results ### + +# create long format +pheno_data_long_above_below <- pivot_longer( + pheno_data_final, + cols = c("DW_Roots_Total", "DW_Shoot"), + names_to = "Part", + values_to = "Part_DW" +) + +# set treatment labels +treatment_labels_above_below <- c("Shoot", "Root") + +# set plot order +pheno_data_long_above_below$Part <- factor( + pheno_data_long_above_below$Part, + levels = c("DW_Shoot", "DW_Roots_Total") +) +treatment_order_above_below <- c("Shoot", "Root") + +# create plot +dw_above_below_plot <- ggplot( + pheno_data_long_above_below, + aes(x = Part, y = Part_DW, fill = Treatment) +) + + geom_boxplot( + outlier.shape = 16, + outlier.size = 2, + alpha = 0.5, + lwd = 0.5, + aes(color = Treatment) + ) + + scale_fill_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_x_discrete(labels = treatment_labels_above_below) + + geom_signif( + y_position = c(1.05, 1.12, 0.98, 0.93, 1, 0.86), + xmin = c(0.906, 0.906, 0.716, 1.906, 1.906, 1.72), + xmax = c(1.094, 1.282, 1.094, 2.0935, 2.282, 1.906), + annotation = c("< 0.001", "< 0.001", "0.030", "< 0.001", "0.006", "0.048"), + textsize = 4 + ) + + labs( + title = "c", + x = "Plant Part", + y = "Dry Weight (g)" + ) + + theme_pubr() + + theme( + legend.position = "right", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.title = element_text(size = 14), + legend.text = element_text(size = 12), + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.075, + vjust = 2 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +dw_above_below_plot + + +##### BIOMASS ALLOCATION PATTERNS - FIGURE 1D ###### + +### do statistical test ### + +# create long format +pheno_data_long_allocation <- pivot_longer( + pheno_data_final, + cols = c("DW_Shoot", "DW_Roots_Total"), + names_to = "Part", + values_to = "Part_DW" +) + +# create data subsets +subset_DW_Shoot <- subset(pheno_data_long_allocation, Part == "DW_Shoot") +subset_DW_Roots <- subset(pheno_data_long_allocation, Part == "DW_Roots_Total") + +# calculate GLMs (sum) +model_DW_Shoot_no <- glm( + (Part_DW) ~ Treatment + DW_Plant, + data = subset_DW_Shoot, + family = gaussian() +) +model_DW_Roots_no <- glm( + (Part_DW) ~ Treatment + DW_Plant, + data = subset_DW_Roots, + family = gaussian() +) +bc_shoot <- boxcox(Part_DW ~ Treatment + DW_Plant, data = subset_DW_Shoot) +lambda_shoot <- bc_shoot$x[which.max(bc_shoot$y)] +model_DW_Shoot_bc <- glm( + ((Part_DW^lambda_shoot - 1) / lambda_shoot) ~ Treatment + DW_Plant, + data = subset_DW_Shoot, + family = gaussian() +) +bc_roots <- boxcox(Part_DW ~ Treatment + DW_Plant, data = subset_DW_Roots) +lambda_roots <- bc_roots$x[which.max(bc_roots$y)] +model_DW_Roots_bc <- glm( + ((Part_DW^lambda_roots - 1) / lambda_roots) ~ Treatment + DW_Plant, + data = subset_DW_Roots, + family = gaussian() +) +model_DW_Shoot_log <- glm( + log(Part_DW) ~ Treatment + DW_Plant, + data = subset_DW_Shoot, + family = gaussian() +) +model_DW_Roots_log <- glm( + log(Part_DW) ~ Treatment + DW_Plant, + data = subset_DW_Roots, + family = gaussian() +) + +# check AIC and BIC +AIC(model_DW_Shoot_bc, model_DW_Shoot_log, model_DW_Shoot_no) +AIC(model_DW_Roots_bc, model_DW_Roots_log, model_DW_Roots_no) +BIC(model_DW_Shoot_bc, model_DW_Shoot_log, model_DW_Shoot_no) +BIC(model_DW_Roots_bc, model_DW_Roots_log, model_DW_Roots_no) +# use no transformation (best BIC and AIC) + +# check distributions of residuals +hist(residuals(model_DW_Shoot_no)) +qqnorm(residuals(model_DW_Shoot_no)) +qqline(residuals(model_DW_Shoot_no)) +hist(residuals(model_DW_Roots_no)) +qqnorm(residuals(model_DW_Roots_no)) +qqline(residuals(model_DW_Roots_no)) + +# get summary statistics +summary(model_DW_Shoot_no) +summary(model_DW_Roots_no) + +# calculate and plot estimated means +emm_DW_Shoot <- emmeans( + model_DW_Shoot_no, + ~ Treatment | DW_Plant, + type = "response", + adjust = "BH" +) +plot(emm_DW_Shoot, comparisons = TRUE) +emm_DW_Shoot_results <- as.data.frame(emm_DW_Shoot) +emm_DW_Shoot_results$Part <- "Shoot" +emm_DW_Roots <- emmeans( + model_DW_Roots_no, + ~ Treatment | DW_Plant, + type = "response", + adjust = "BH" +) +plot(emm_DW_Roots, comparisons = TRUE) +emm_DW_Roots_results <- as.data.frame(emm_DW_Roots) +emm_DW_Roots_results$Part <- "Roots" + +# combine results +emm_results <- rbind(emm_DW_Shoot_results, emm_DW_Roots_results) + +# save_results +emm_results <- subset(emm_results, select = -c(DW_Plant)) +write.csv( + emm_results, + "runs/1_phenotypic_data_figure1/emm_resource_allocation.csv", + row.names = FALSE +) + +# calculate pairwise comparison statistics with Benjamini-Hochberg correction +pairs_Shoot <- as.data.frame(pairs( + emm_DW_Shoot, + adjust = "BH", + type = "response" +)) +pairs_Shoot$Part <- "Shoot" +pairs_Roots <- as.data.frame(pairs( + emm_DW_Roots, + adjust = "BH", + type = "response" +)) +pairs_Roots$Part <- "Roots" + +# combine results +emm_pairwise <- rbind(pairs_Shoot, pairs_Roots) + +# save_results +emm_pairwise <- subset(emm_pairwise, select = -c(DW_Plant)) +write.csv( + emm_pairwise, + "runs/1_phenotypic_data_figure1/pairwise_comparison_resource_allocation.csv", + row.names = FALSE +) + + +### plot results ### + +# define plot order +plot_order_allocation <- c("Shoot", "Roots") + +# set treatment order +pheno_data_long_allocation$Part <- factor(pheno_data_long_allocation$Part) +levels(pheno_data_long_allocation$Part) <- c("Roots", "Shoot") + +# set part order +emm_results$Part <- factor(emm_results$Part, levels = plot_order_allocation) + +# set treatment labels +treatment_labels_allocation <- c("Shoot", "Root") + +# create plot +emm_plot <- ggplot() + + geom_point( + data = emm_results, + aes(x = Part, y = response, color = Treatment), + position = position_dodge(width = 0.75), + size = 3 + ) + + geom_linerange( + data = emm_results, + aes( + x = Part, + y = response, + color = Treatment, + ymin = lower.CL, + ymax = upper.CL + ), + position = position_dodge(width = 0.75), + size = 1.2 + ) + + geom_beeswarm( + data = pheno_data_long_allocation, + aes(x = Part, y = Part_DW, color = Treatment), + alpha = 0.5, + dodge.width = 0.75, + shape = 16 + ) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_x_discrete(labels = c("Shoot", "Root")) + + labs( + title = "d", + x = "Plant Part", + y = "Dry Weight Estimated Marginal Mean (g)", + color = "Treatment" + ) + + annotate("segment", x = 0.905, xend = 1.095, y = 0.95, yend = 0.95) + + annotate("segment", x = 0.905, xend = 0.905, y = 0.922, yend = 0.95) + + annotate("segment", x = 1.095, xend = 1.095, y = 0.922, yend = 0.95) + + annotate("text", x = 1.0, y = 0.98, label = "0.025", size = 4) + + annotate("segment", x = 0.725, xend = 1.095, y = 1.04, yend = 1.04) + + annotate("segment", x = 0.725, xend = 0.725, y = 1.012, yend = 1.04) + + annotate("segment", x = 1.095, xend = 1.095, y = 1.012, yend = 1.04) + + annotate("text", x = 0.91, y = 1.07, label = "0.025", size = 4) + + theme_pubr() + + theme( + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.position = "right", + legend.title = element_text(size = 14), + legend.text = element_text(size = 12), + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.075, + vjust = 2 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +emm_plot + + +##### FINAL VISUALIZATION - FIGURE 1 ##### + +# create combined plot +combined_plot_pheno <- dw_plant_plot / + dw_above_below_plot / + emm_plot + + plot_layout(widths = c(5), heights = (10)) + +# show plot +combined_plot_pheno + +# save combined plot (has to be combined with experimental setup plot) +ggsave( + "runs/1_phenotypic_data_figure1/Figure1.pdf", + plot = combined_plot_pheno, + width = 12.5, + height = 15 +) +dev.off() diff --git a/workflows/2_timeseries_data_figure2/.Rhistory b/workflows/2_timeseries_data_figure2/.Rhistory new file mode 100644 index 0000000000000000000000000000000000000000..17263bcc9c261e22fd661238bc79cef73eb542ca --- /dev/null +++ b/workflows/2_timeseries_data_figure2/.Rhistory @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Script Name: SI.R +# Purpose: Reproduces SI figures from "An Ectomycorrhizal Fungus Alters Development Stages Within Pedunculate Oak’s Endogenous Growth Rhythm" +# Author: Felix Zimmermann +# Date: 2025-05-07 +# Contact: felix.zimmermann@wsl.ch +# License: CC BY +# ------------------------------------------------------------------ +##### BASICS ##### +# load packages +library(tidyverse) +library(viridis) +library(psych) +library(corrplot) +library(ggpubr) +library(patchwork) +library(forcats) +# check and save session info +sessionInfo() %>% +capture.output(file = "runs/3_additional_analyses_SI/SI_session_info.txt") diff --git a/workflows/2_timeseries_data_figure2/figure2_timeseries.R b/workflows/2_timeseries_data_figure2/figure2_timeseries.R new file mode 100644 index 0000000000000000000000000000000000000000..01d74021902603277836c08c98bb698ec7c4bd14 --- /dev/null +++ b/workflows/2_timeseries_data_figure2/figure2_timeseries.R @@ -0,0 +1,1304 @@ +# ------------------------------------------------------------------ +# Script Name: figure2_timeseries.R +# Purpose: Reproduces Figure 2 from "An Ectomycorrhizal Fungus Alters Development Stages Within Pedunculate Oak’s Endogenous Growth Rhythm" +# Author: Felix Zimmermann +# Date: 2025-05-07 +# Contact: felix.zimmermann@wsl.ch +# License: CC BY +# ------------------------------------------------------------------ + +##### BASICS ##### + +# load packages +library(tidyverse) +library(viridis) +library(ggpubr) +library(brms) +library(posterior) +library(bayesnec) +library(bayestestR) +library(tidybayes) +library(ggtext) +library(rstatix) +library(ggsignif) +library(grid) +library(patchwork) + +# check and save session info +sessionInfo() %>% + capture.output(file = "runs/2_timeseries_data_figure2/Figure2_session_info.txt") + + +##### DATA LOADING, CLEANING & SCALING ##### + +# laod data (dead plants are excluded in time_seriess.csv file) +time_data <- read_csv("assays/2_growth_monitoring/dataset/time_series.csv") + +# create stage_reference for calculation of stages reached +stage_reference <- data.frame( + Stage = c(paste0(rep(1:5, each = 4), rep(c("A", "B", "C", "D"), 5))), + stage_index = 1:20 +) + +# calculate the number of stages reached for each date +time_data <- time_data %>% + left_join(stage_reference, by = "Stage") %>% + group_by(ID) %>% + arrange(ID, Days) %>% + mutate( + initial_index = first(stage_index), + Stages_Reached = ifelse(Days == 0, 0, stage_index - initial_index) + ) %>% + dplyr::select(-c(stage_index, initial_index)) + +# create a column where total number of stages reached is added to each plant ID +time_data <- time_data %>% + group_by(ID) %>% + mutate(Max_Stages_Reached = max(Stages_Reached)) %>% + ungroup() + +# exclude contaminated plants, add +1 to Stages_Reached (beginning stage = stage 1) +time_data_final <- subset(time_data, Contaminated == "no") +time_data_final$Stages_Reached <- time_data_final$Stages_Reached + 1 + +# scale time variable, define plant ID & Treatment as factor +time_data_scaled <- time_data_final +time_data_scaled$days_scaled <- scale(time_data_final$Days) +time_data_scaled$ID <- factor(time_data_scaled$ID) +time_data_scaled$Treatment <- factor(time_data_scaled$Treatment) + + +##### DEFINE BASIC PLOTTING PARAMETERS ##### + +# define treatment labels +treatment_labels <- c( + "Ceno" = expression(italic("Cenococcum geophilum")), + "Pilo" = expression(italic("Piloderma croceum")), + "Co_Inoc" = "Co-Inoculation", + "Control" = "Control" +) + +# define legend order +treatment_order <- c("Control", "Pilo", "Ceno", "Co_Inoc") + +# define custom colors +custom_colors <- c( + "Control" = "#4B8C6F", + "Ceno" = "#8C5E8C", + "Pilo" = "#D6C9A0", + "Co_Inoc" = "#5E96A6" +) + + +##### CREATE BASIC GROWTH STAGE DEVELOPMENT PLOT - FIGURE 2B ##### + +# remove week 9 & 10 (week 8 was last week where both sets were measured twice) +time_data_basic_plot <- subset(time_data_final, Week < 9) + +# create basic plot for growth stage development (mean and standard error) +basic_growth_plot <- ggplot( + time_data_basic_plot, + aes(x = Week, y = Stages_Reached, color = Treatment) +) + + stat_summary(fun = mean, geom = "line", linewidth = 1) + + stat_summary( + fun.data = mean_se, + geom = "ribbon", + alpha = 0.5, + aes(fill = Treatment) + ) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_fill_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_x_continuous( + breaks = (c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)), + expand = (c(0, 0)) + ) + + scale_y_continuous() + + labs( + title = "b", + y = "N Stages Reached", + x = "N Weeks", + color = "Treatment", + fill = "Treatment" + ) + + theme_pubr() + + theme( + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.position = "right", + legend.title = element_text(size = 14), + legend.text = element_text(size = 12), + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.075, + vjust = 2 + ), + plot.subtitle = element_text(size = 14, face = "italic"), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +basic_growth_plot + + +##### GROWTH MODEL - BRM (Cumulative Distribution Family) - FIGURE 2C ##### + +### FIT MODELS WITH DIFFERENT LEVELS OF COMPLEXITY ### + +# set control treatment as reference +time_data_scaled$Treatment <- relevel( + time_data_scaled$Treatment, + ref = "Control" +) + +# fit growth curve model with cumulative distribution family using bayesian regression (Treatment * days_scaled + random intercept factor ID) +bay_model <- brm( + Stages_Reached ~ Treatment * days_scaled + (1 | ID), + ## treatment effect with linear time trend and random intercepts + # treatment and days_scaled interaction as fixed effects + # random intercept-factor ID to account for non-independence of repeated measurements + family = cumulative(), # cumulative distribution family to account for cumulative nature of growth-stage succession + data = time_data_scaled, # use scaled numeric explanatory variable in model + chains = 4, # use 4 independent fitting procedures + iter = 6000, # use 6000 iterations + warmup = 3000, # use 50% of iterations as warm-up + seed = 2025, # use seed +) + +# check model summary statistics and plot posterior distribution +summary(bay_model) +rhat(bay_model) +fixef(bay_model) +ranef(bay_model) +bayes_R2(bay_model) +plot(bay_model) +plot(conditional_effects(bay_model)) +loo(bay_model) + +# fincrease complexity by incorporating random slope (Treatment * days_scaled + random intercept-slope factor ID) +bay_model_slope <- brm( + Stages_Reached ~ Treatment * days_scaled + (1 + days_scaled | ID), + ## treatment effect with linear time trend, random intercepts and random slopes + # treatment and days_scaled interaction as fixed effects + # random intercept-factor ID to account for non-independence of repeated measurements + # random slope-factor ID to account for heterogeneity in growth rates between plants + family = cumulative(), # cumulative distribution family to account for cumulative nature of growth-stage succession + data = time_data_scaled, # use scaled numeric explanatory variable in model + chains = 4, # use 4 independent fitting procedures + iter = 6000, # use 6000 iterations + warmup = 3000, # use 50% of iterations as warm-up + seed = 2025, # use seed +) + +# check model summary statistics and plot posterior distribution +summary(bay_model_slope) +rhat(bay_model_slope) +fixef(bay_model_slope) +ranef(bay_model_slope) +bayes_R2(bay_model_slope) +plot(bay_model_slope) +plot(conditional_effects(bay_model_slope)) +loo(bay_model_slope) + +## increase complexity by incorporating auto-regressive term (Treatment * days_scaled + auto-regressive term + random intercep factor ID) +bay_model_ar <- brm( + Stages_Reached ~ + Treatment * days_scaled + ar(time = days_scaled, gr = ID) + (1 | ID), + ## adding autocorrelation structure + # treatment and days_scaled interaction as fixed effects + # auto-regressive term by tree ID to account for temporal autocorrelation within plants + # random intercept-factor ID to account for non-independence of repeated measurements + family = cumulative(), + data = time_data_scaled, + chains = 4, + iter = 6000, + warmup = 3000, + seed = 2025 +) + +# check model summary statistics and plot posterior distribution +summary(bay_model_ar) +rhat(bay_model_ar) +fixef(bay_model_ar) +ranef(bay_model_ar) +bayes_R2(bay_model_ar) +plot(bay_model_ar) +plot(conditional_effects(bay_model_ar)) +loo(bay_model_ar) +# autoregressive term causes overfitting + +# increase complexity by adding a random slope (Treatment * days_scaled + autoregressive term + random intercept-slope factor ID) +bay_model_ar_slope <- brm( + Stages_Reached ~ + Treatment * + days_scaled + + ar(time = days_scaled, gr = ID) + + (1 + days_scaled | ID), + ## allowing individual plants to have different growth rates + # treatment and days_scaled interaction as fixed effects + # autoregressive term by tree ID to account for temporal autocorrelation within plants + # random intercept-factor ID to account for non-independence of repeated measurements + # random slope-factor ID to account for heterogeneity in growth rates between plants + family = cumulative(), + data = time_data_scaled, + chains = 4, + iter = 6000, + warmup = 3000, + seed = 2025 +) + +# check model summary statistics and plot posterior distribution +summary(bay_model_ar_slope) +rhat(bay_model_ar_slope) +fixef(bay_model_ar_slope) +ranef(bay_model_ar_slope) +bayes_R2(bay_model_ar_slope) +plot(bay_model_ar_slope) +plot(conditional_effects(bay_model_ar_slope)) +loo(bay_model_ar_slope) +# auto-regressive term causes overfitting + +# change auto-regressive term causing overfitting to spline function (Treatment + spline term + random intercept factor ID) +bay_model_s <- brm( + Stages_Reached ~ Treatment + s(days_scaled, by = Treatment) + (1 | ID), + ## modeling non-linear growth curves by treatment + # treatment as fixed effect (no days_scaled interaction because treatment specific splines already capture different growth rates over time) + # spline/smoothing term days_scaled to allow for different non-linear growth patterns between treatments + # random intercept-factor ID to account for non-independence of repeated measurements + family = cumulative(), + data = time_data_scaled, + chains = 4, + iter = 6000, + warmup = 3000, + seed = 2025 +) + +# check model summary statistics and plot posterior distribution +summary(bay_model_s) +rhat(bay_model_s) +fixef(bay_model_s) +ranef(bay_model_s) +bayes_R2(bay_model_s) +plot(bay_model_s) +plot(conditional_effects(bay_model_s)) +loo(bay_model_s) + +# increase complexity by adding a random slope (Treatment + spline term + random intercept-slope factor ID) +bay_model_s_slope <- brm( + Stages_Reached ~ + Treatment + s(days_scaled, by = Treatment) + (1 + days_scaled | ID), + ## modeling non-linear growth curves by treatment + # treatment as fixed effect (no days_scaled interaction because treatment specific splines already capture different growth rates over time) + # spline/smoothing term days_scaled to allow for different non-linear growth patterns between treatments + # random intercept-factor ID to account for non-independence of repeated measurements + # random slope-factor ID to account for heterogeneity in growth rates between plants + family = cumulative(), + data = time_data_scaled, + chains = 4, + iter = 6000, + warmup = 3000, + seed = 2025 +) + +# check model summary statistics and plot posterior distribution +summary(bay_model_s_slope) +rhat(bay_model_s_slope) +fixef(bay_model_s_slope) +ranef(bay_model_s_slope) +bayes_R2(bay_model_s_slope) +plot(bay_model_s_slope) +plot(conditional_effects(bay_model_s_slope)) +loo(bay_model_s_slope) + + +### COMPARE MODEL RHAT AND ESS VALUES ### + +# extract Rhat values for each model +rhat_model <- rhat(bay_model) +rhat_model_slope <- rhat(bay_model_slope) +rhat_model_ar <- rhat(bay_model_ar) +rhat_model_ar_slope <- rhat(bay_model_ar_slope) +rhat_model_s <- rhat(bay_model_s) +rhat_model_s_slope <- rhat(bay_model_s_slope) + +# calculate maximum rhat deviation from 1 for each model +max_dev_base <- max(abs(rhat_model - 1), na.rm = TRUE) +max_dev_base_slope <- max(abs(rhat_model_slope - 1), na.rm = TRUE) +max_dev_ar <- max(abs(rhat_model_ar - 1), na.rm = TRUE) +max_dev_ar_slope <- max(abs(rhat_model_ar_slope - 1), na.rm = TRUE) +max_dev_s <- max(abs(rhat_model_s - 1), na.rm = TRUE) +max_dev_s_slope <- max(abs(rhat_model_s_slope - 1), na.rm = TRUE) + +# create summary dataframe +rhat_summary <- data.frame( + Model = c("Base", "Base_Slope", "AR", "AR_Slope", "S", "S_Slope"), + Max_Deviation = c( + max_dev_base, + max_dev_base_slope, + max_dev_ar, + max_dev_ar_slope, + max_dev_s, + max_dev_s_slope + ), + Parameters = c( + length(rhat_model), + length(rhat_model_slope), + length(rhat_model_ar), + length(rhat_model_ar_slope), + length(rhat_model_s), + length(rhat_model_s_slope) + ) +) + +# sort by maximum deviation +rhat_summary <- rhat_summary[order(rhat_summary$Max_Deviation), ] + +# print results +print(rhat_summary) + +# extract ESS values for each model +ess_model <- ess_bulk(bay_model) +ess_model_slope <- ess_bulk(bay_model_slope) +ess_model_ar <- ess_bulk(bay_model_ar) +ess_model_ar_slope <- ess_bulk(bay_model_ar_slope) +ess_model_s <- ess_bulk(bay_model_s) +ess_model_s_slope <- ess_bulk(bay_model_s_slope) + +# create dataframe of ESS values +ess_df <- data.frame( + Parameter = names(ess_model), + Model_Base = ess_model, + Model_Base_Slope = ess_model_slope, + Model_AR = ess_model_ar, + Model_AR_Slope = ess_model_ar_slope, + Model_S = ess_model_s, + Model_S_Slope = ess_model_s_slope, +) + +# find minimum ESS for each model +ess_summary <- data.frame( + Model = c("Base", "Base_Slope", "AR", "AR_Slope", "S", "S_Slope"), + Min_ESS = c( + min(ess_model), + min(ess_model_slope), + min(ess_model_ar), + min(ess_model_ar_slope), + min(ess_model_s), + min(ess_model_s_slope) + ) +) + +# sort by minimum ESS +ess_summary <- ess_summary[order(ess_summary$Min_ESS), ] + +# print results +print(ess_summary) + + +### PLOT PREDICTIONS ### + +# extract conditional effects data and convert to dataframe +ce_data <- conditional_effects( + bay_model_s_slope, + effects = "days_scaled:Treatment" +) +ce_df <- as.data.frame(ce_data$`days_scaled:Treatment`) + +# calculate scaling parameters for scaled days and scale back to original +days_mean <- mean(time_data_final$Days) +days_sd <- sd(time_data_final$Days) +ce_df$days_original <- ce_df$days_scaled * days_sd + days_mean + +# reorder factor levels +ce_df$Treatment <- factor( + ce_df$Treatment, + levels = c("Control", "Ceno", "Pilo", "Co_Inoc") +) + +# create growth model plot +model_plot <- ggplot( + ce_df, + aes(x = days_original, y = estimate__, color = Treatment) +) + + geom_line(size = 1) + + geom_ribbon( + aes(ymin = lower__, ymax = upper__, fill = Treatment), + alpha = 0.5, + color = NA + ) + + geom_line(aes(y = lower__), linetype = "solid", size = 0.5) + + geom_line(aes(y = upper__), linetype = "solid", size = 0.5) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + name = "Treatment" + ) + # apply custom color scheme + scale_fill_manual( + values = custom_colors, + labels = treatment_labels, + name = "Treatment" + ) + + scale_x_continuous(expand = c(0, 0), limits = c(0, 56)) + + scale_y_continuous() + + labs( + title = "c", + y = "N Stages Reached", + x = "N Days" + ) + + theme_pubr() + + theme( + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.position = "none", + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.0525, + vjust = 2 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +model_plot + + +### GET PREDICTIONS AT LAST DAY OF EXPERIMENT (56 DAYS) ### + +# scale day 56 +day_56_scaled <- (56 - days_mean) / days_sd + +# create prediction data frame +newdata_56 <- data.frame( + days_scaled = day_56_scaled, + Treatment = c("Control", "Ceno", "Pilo", "Co_Inoc") +) + +# get predictions +pred_day56 <- fitted( + bay_model_s_slope, + newdata = newdata_56, + re_formula = NA, # Population-level estimates + summary = FALSE # Get full posterior +) + +# calculate expected stage for each posterior sample +n_categories <- dim(pred_day56)[3] +stage_indices <- 1:n_categories +expected_stages <- matrix(0, nrow = dim(pred_day56)[1], ncol = nrow(newdata_56)) + +for (i in 1:dim(pred_day56)[1]) { + for (j in 1:nrow(newdata_56)) { + expected_stages[i, j] <- sum(stage_indices * pred_day56[i, j, ]) + } +} + +# summarize results +results_day56 <- data.frame( + Treatment = newdata_56$Treatment, + Expected_Stage = colMeans(expected_stages), + Lower_CI = apply(expected_stages, 2, quantile, probs = 0.025), + Upper_CI = apply(expected_stages, 2, quantile, probs = 0.975) +) + +# calculate standard error based on 95% credible intervals +results_day56$SE <- (results_day56$Upper_CI - results_day56$Lower_CI) / + (2 * 1.96) + +# print results +print(results_day56) + + +##### OVERALL TREATMENT EFFECTS - FIGURE 2D ##### + +### GET TREATMENT EFFECTS ### + +# extract treatment effects +treatment_effects <- conditional_effects( + bay_model_s_slope, + effects = "Treatment" +) +treatment_effect_data <- as.data.frame(treatment_effects$Treatment) + +# reorder factor levels +treatment_effect_data$Treatment <- factor( + treatment_effect_data$Treatment, + levels = c("Control", "Ceno", "Pilo", "Co_Inoc") +) + +# calculate grand mean +avg_data <- aggregate( + estimate__ ~ days_scaled, + data = treatment_effect_data, + FUN = mean +) +names(avg_data)[2] <- "avg_estimate" + +# merge average estimate with main data +treatment_effect_data <- merge( + treatment_effect_data, + avg_data, + by = "days_scaled" +) + +# calculate estimate, upper and lower relative to grand mean +treatment_effect_data$estimate__rel <- treatment_effect_data$estimate__ - + treatment_effect_data$avg_estimate +treatment_effect_data$lower__rel <- treatment_effect_data$lower__ - + treatment_effect_data$avg_estimate +treatment_effect_data$upper__rel <- treatment_effect_data$upper__ - + treatment_effect_data$avg_estimate + +# remove temporary column +treatment_effect_data$avg_estimate <- NULL + +# create treatment order +treatment_effect_data$Treatment <- factor( + treatment_effect_data$Treatment, + levels = treatment_order +) + +# get significance +treatment_effect_data$Significant <- (treatment_effect_data$lower__rel > 0 | + treatment_effect_data$upper__rel < 0) + + +### PLOT TREATMENT EFFECTS AND SAVE RESULTS ### + +# create plot for treatment effects on stage development (mean and 95% credible interval) +overall_treatment_plot <- ggplot( + treatment_effect_data, + aes(x = Treatment, y = estimate__rel, color = Treatment) +) + + geom_point(aes(shape = Significant), size = 3) + + geom_linerange( + aes(color = Treatment, ymin = lower__rel, ymax = upper__rel), + size = 1.2 + ) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + guide = "none" # Remove the color legend + ) + + scale_x_discrete(labels = treatment_labels) + + geom_hline(yintercept = 0, size = 0.2, col = "black") + + labs( + title = "d", + y = "Relative Response", + x = "Treatment" + ) + + theme_pubr() + + theme( + axis.text.x = element_text(angle = 25, hjust = 1, size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.position = "right", + legend.title = element_text(size = 14), + legend.text = element_text(size = 12), + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.07, + vjust = 2 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +overall_treatment_plot + +# save results data +overall_effects <- subset( + treatment_effect_data, + select = -c(Stages_Reached, ID, cond__, effect1__, days_scaled) +) +overall_effects <- overall_effects %>% rename(se = se__) +overall_effects <- overall_effects %>% rename(estimate_absolute = estimate__) +overall_effects <- overall_effects %>% rename(lower_absolute = lower__) +overall_effects <- overall_effects %>% rename(upper_absolute = upper__) +overall_effects <- overall_effects %>% rename(estimate_relative = estimate__rel) +overall_effects <- overall_effects %>% rename(lower_relative = lower__rel) +overall_effects <- overall_effects %>% rename(upper_relative = upper__rel) +write.csv( + overall_effects, + "runs/2_timeseries_data_figure2/overall_treatment_effects.csv", + row.names = FALSE +) + + +##### IDENTIFY DAYS OF SIGNIFICANT DIFFERENCE - FIGURE 2E ##### + +### EXTRACT DAYS OF SIGNIFICANT DIFFERENCE ### + +# extract unique treatments from original data +treatments <- unique(bay_model_s_slope$data$Treatment) + +# identify treatment pairs +treatment_pairs <- combn(treatments, 2, simplify = FALSE) + +# create data frame for significantly different days +significance_days <- data.frame( + Treatment1 = character(), + Treatment2 = character(), + First_Significant_Day = numeric(), + stringsAsFactors = FALSE +) + +# extract data +for (pair in treatment_pairs) { + t1 <- pair[1] + t2 <- pair[2] + first_sig_day <- NA + # check each day + for (day in 1:56) { + # revert scaling of days + if (is.null(days_mean) || is.null(days_sd)) { + day_scaled <- day + } else { + day_scaled <- (day - days_mean) / days_sd + } + # create prediction data for treatment pairs + pred_data <- data.frame( + Treatment = c(t1, t2), + days_scaled = rep(day_scaled, 2), + ID = rep("new_subject", 2) + ) + # get posterior predictions + preds <- posterior_epred( + bay_model, + newdata = pred_data, + allow_new_levels = TRUE + ) + # compute expected stages for each treatment + expected_stages <- array(0, dim = c(dim(preds)[1], 2)) + for (i in 1:dim(preds)[3]) { + # for each outcome category/stage + expected_stages[, 1] <- expected_stages[, 1] + i * preds[, 1, i] + expected_stages[, 2] <- expected_stages[, 2] + i * preds[, 2, i] + } + # compute differences and check significance + stage_diffs <- expected_stages[, 1] - expected_stages[, 2] + # check if 95% CI excludes zero + ci_lower <- quantile(stage_diffs, 0.025) + ci_upper <- quantile(stage_diffs, 0.975) + is_significant <- (ci_lower > 0) | (ci_upper < 0) + # record first significant day + if (is_significant && is.na(first_sig_day)) { + first_sig_day <- day + break + } + } + # add results to data frame + significance_days <- rbind( + significance_days, + data.frame( + Treatment1 = t1, + Treatment2 = t2, + First_Significant_Day = first_sig_day + ) + ) +} + +# check results +print(significance_days) + +# create data frame to store results +diff_over_time <- data.frame( + Treatment1 = character(), + Treatment2 = character(), + Day = numeric(), + Mean_Diff = numeric(), + Lower_CI = numeric(), + Upper_CI = numeric(), + Significant = logical(), + stringsAsFactors = FALSE +) + +# for each pair, calculate differences over time +for (pair in treatment_pairs) { + t1 <- pair[1] + t2 <- pair[2] + for (day in 1:56) { + # scale day parameter + if (is.null(days_mean) || is.null(days_sd)) { + day_scaled <- day + } else { + day_scaled <- (day - days_mean) / days_sd + } + # create prediction data for treatment paris + pred_data <- data.frame( + Treatment = c(t1, t2), + days_scaled = rep(day_scaled, 2), + ID = rep("new_subject", 2) + ) + # get posterior predictions + preds <- posterior_epred( + bay_model, + newdata = pred_data, + allow_new_levels = TRUE + ) + # compute expected stages for each treatment + expected_stages <- array(0, dim = c(dim(preds)[1], 2)) + for (i in 1:dim(preds)[3]) { + # for each outcome category/stage + expected_stages[, 1] <- expected_stages[, 1] + i * preds[, 1, i] + expected_stages[, 2] <- expected_stages[, 2] + i * preds[, 2, i] + } + # compute differences and check significance + stage_diffs <- expected_stages[, 1] - expected_stages[, 2] + # calculate mean and CI + mean_diff <- mean(stage_diffs) + ci_lower <- quantile(stage_diffs, 0.025) + ci_upper <- quantile(stage_diffs, 0.975) + is_significant <- (ci_lower > 0) | (ci_upper < 0) + # add to results data frame + diff_over_time <- rbind( + diff_over_time, + data.frame( + Treatment1 = t1, + Treatment2 = t2, + Day = day, + Mean_Diff = mean_diff, + Lower_CI = ci_lower, + Upper_CI = ci_upper, + Significant = is_significant + ) + ) + } +} + +# define significant treatment pairs for final plot +treatment_pairs_final <- list( + factor( + c(2, 4), + levels = 1:4, + labels = c("Control", "Ceno", "Co_Inoc", "Pilo") + ), + factor( + c(2, 3), + levels = 1:4, + labels = c("Control", "Ceno", "Co_Inoc", "Pilo") + ), + factor( + c(2, 1), + levels = 1:4, + labels = c("Control", "Ceno", "Co_Inoc", "Pilo") + ), + factor( + c(3, 1), + levels = 1:4, + labels = c("Control", "Ceno", "Co_Inoc", "Pilo") + ), + factor( + c(3, 4), + levels = 1:4, + labels = c("Control", "Ceno", "Co_Inoc", "Pilo") + ), + factor( + c(1, 4), + levels = 1:4, + labels = c("Control", "Ceno", "Co_Inoc", "Pilo") + ) +) + +# create data frame to store results for final plot +diff_over_time_final <- data.frame( + Treatment1 = character(), + Treatment2 = character(), + Day = numeric(), + Mean_Diff = numeric(), + Lower_CI = numeric(), + Upper_CI = numeric(), + Significant = logical(), + stringsAsFactors = FALSE +) + +# for each final pair, calculate differences over time +for (pair in treatment_pairs_final) { + t1 <- pair[1] + t2 <- pair[2] + for (day in 1:56) { + # scale day parameter + if (is.null(days_mean) || is.null(days_sd)) { + day_scaled <- day + } else { + day_scaled <- (day - days_mean) / days_sd + } + # create prediction data for treatment paris + pred_data <- data.frame( + Treatment = c(t1, t2), + days_scaled = rep(day_scaled, 2), + ID = rep("new_subject", 2) + ) + # get posterior predictions + preds <- posterior_epred( + bay_model, + newdata = pred_data, + allow_new_levels = TRUE + ) + # compute expected stages for each treatment + expected_stages <- array(0, dim = c(dim(preds)[1], 2)) + for (i in 1:dim(preds)[3]) { + # for each outcome category/stage + expected_stages[, 1] <- expected_stages[, 1] + i * preds[, 1, i] + expected_stages[, 2] <- expected_stages[, 2] + i * preds[, 2, i] + } + # compute differences and check significance + stage_diffs <- expected_stages[, 1] - expected_stages[, 2] + # calculate mean and CI + mean_diff <- mean(stage_diffs) + ci_lower <- quantile(stage_diffs, 0.025) + ci_upper <- quantile(stage_diffs, 0.975) + is_significant <- (ci_lower > 0) | (ci_upper < 0) + # add to results data frame + diff_over_time_final <- rbind( + diff_over_time_final, + data.frame( + Treatment1 = t1, + Treatment2 = t2, + Day = day, + Mean_Diff = mean_diff, + Lower_CI = ci_lower, + Upper_CI = ci_upper, + Significant = is_significant + ) + ) + } +} + + +### PLOT PAIRWISE DIFFERENCES AND SAVE RESULTS ### + +# save pairwise timeseries credible intervals +diff_over_time <- diff_over_time %>% + dplyr::select( + Treatment1, + Treatment2, + Day, + Lower_CI, + Upper_CI, + Significant + ) %>% + arrange(Treatment1, Treatment2, Day) +write.csv( + diff_over_time, + "runs/2_timeseries_data_figure2/pairwise_treatment_differences_over_time.csv", + row.names = FALSE +) + +# create final pairwise differences plot +pairwise_plot_final <- ggplot( + diff_over_time_final, + aes( + x = Day, + y = Mean_Diff, + ymin = Lower_CI, + ymax = Upper_CI, + color = Significant + ) +) + + geom_ribbon(aes(fill = Significant), alpha = 0.5, color = NA) + + geom_line() + + geom_hline(yintercept = 0, linetype = "dashed") + + facet_wrap( + ~ paste(Treatment1, "vs", Treatment2), + labeller = labeller( + .default = label_value, + `paste(Treatment1, "vs", Treatment2)` = function(x) { + x <- gsub( + "Ceno vs Co_Inoc", + "*Cenococcum geophilum* vs.<br>Co-Inoculation", + x + ) + x <- gsub( + "Ceno vs Pilo", + "*Cenococcum geophilum* vs.<br>*Piloderma croceum*", + x + ) + x <- gsub( + "Ceno vs Control", + "*Cenococcum geophilum* vs. <br>Control", + x + ) + x <- gsub("Co_Inoc vs Control", "Co-Inoculation vs.<br>Control", x) + x <- gsub( + "Co_Inoc vs Pilo", + "Co-Inoculation vs.<br>*Piloderma croceum*", + x + ) + x <- gsub("Control vs Pilo", "Control vs.<br>*Piloderma croceum*", x) + x <- gsub( + "Co_Inoc vs Pilo", + "Co-Inoculation vs.<br>*Piloderma croceum*", + x + ) + } + ) + ) + + scale_color_manual(values = c("gray60", "gray10")) + + scale_fill_manual(values = c("gray60", "gray10")) + + theme_minimal() + + labs( + title = "e", + x = "N Days", + y = "Expected Stage (Treatment 1 - Treatment 2)" + ) + + theme_pubr() + + theme( + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.position = "right", + legend.title = element_text(size = 14), + legend.text = element_text(size = 12), + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.0675, + vjust = 2 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95"), + strip.background = element_rect(fill = "white"), + strip.text = element_markdown(size = 12) + ) + +# show final plot +pairwise_plot_final + +# save significant day results +write.csv( + significance_days, + "runs/2_timeseries_data_figure2/significance_days.csv", + row.names = FALSE +) + + +###### CHECK FOR DIFFERENCES IN STAGE DURATIONS FOR EACH STAGE BETWEEN TREATMENTS - FIGURE 2F ##### + +### CALCULATE STAGE DURATIONS ### + +# write function for stage duration calculation +calculate_stage_duration <- function(df) { + # convert date data + df$Date <- as.Date(as.character(df$Date), format = "%Y%m%d") + # sort data by ID and Date + df <- df[order(df$ID, df$Date), ] + # create results dataframe + result <- data.frame( + ID = integer(), + Treatment = character(), + Stage = character(), + StartDate = as.Date(character()), + EndDate = as.Date(character()), + DaysInStage = integer(), + stringsAsFactors = FALSE + ) + # analyze each ID separately + for (id in unique(df$ID)) { + id_data <- df[df$ID == id, ] + if (nrow(id_data) <= 1) next + # track stages + current_stage <- NULL + stage_start_date <- NULL + for (i in 1:nrow(id_data)) { + # check if new stage was reached + if (is.null(current_stage) || id_data$Stage[i] != current_stage) { + # record duration for previous stage + if (!is.null(current_stage)) { + result <- rbind( + result, + data.frame( + ID = id, + Treatment = id_data$Treatment[i - 1], + Stage = current_stage, + StartDate = stage_start_date, + EndDate = id_data$Date[i], + DaysInStage = as.integer(id_data$Date[i] - stage_start_date), + stringsAsFactors = FALSE + ) + ) + } + # start tracking new stage + current_stage <- id_data$Stage[i] + stage_start_date <- id_data$Date[i] + } + } + } + return(result) +} + +# calculate stage durations +stage_durations <- calculate_stage_duration(time_data_final) +print(stage_durations) + +# add stage letter for plotting +stage_durations <- stage_durations %>% + mutate(StageLetter = substr(Stage, nchar(Stage), nchar(Stage))) + + +### COMPARISONS OF CYCLE DURATIONS BETWEEN TREATMENTS ### + +# create and run a function calculating growth cycle durations of different plants +calculate_cycle_durations <- function(data) { + # Extract cycle number and stage letter + data <- data %>% + mutate( + CycleNum = as.integer(sub("(\\d+)([A-D])", "\\1", Stage)), + StageLetter = sub("(\\d+)([A-D])", "\\2", Stage) + ) + # group by ID + result_data <- data %>% + group_by(ID) %>% + arrange(Date) %>% + mutate( + NextStage = lead(StageLetter), + NextCycleNum = lead(CycleNum), + NextDays = lead(Days) + ) %>% + # find D→A transitions + filter(StageLetter == "D" & NextStage == "A") %>% + select( + ID, + Treatment, + CurrentCycle = CycleNum, + NextCycle = NextCycleNum, + CurrentDays = Days, + NextDays + ) %>% + # prepare for calculating cycle durations + ungroup() + # skip plants that start with stage A + start_stages <- data %>% + group_by(ID) %>% + slice(1) %>% + select(ID, FirstStage = StageLetter) + result_data <- result_data %>% + left_join(start_stages, by = "ID") %>% + filter(FirstStage != "A") + # calculate cycle durations + cycle_durations <- result_data %>% + group_by(ID) %>% + mutate( + NextTransitionDays = lead(NextDays) + ) %>% + filter(!is.na(NextTransitionDays)) %>% + transmute( + ID, + Treatment, + Cycle_ID = NextCycle, # cycle that starts at this transition + Days = NextTransitionDays - NextDays # days between this A and next A + ) + return(cycle_durations) +} +cycle_durations <- calculate_cycle_durations(time_data_final) + +# do wilcoxon test with Benjamini-Hochberg p adjustment for cycle durations +wilcoxon_results_cycle <- pairwise.wilcox.test( + cycle_durations$Days, + cycle_durations$Treatment, + p.adjust.method = "BH" +) + + +### PLOT STAGE SPECIFIC DIFFERENCES ### + +# create plot +cycle_plot <- ggplot( + cycle_durations, + aes(x = Treatment, y = Days, fill = Treatment) +) + + geom_boxplot( + outlier.shape = 16, + outlier.size = 2, + alpha = 0.5, + lwd = 0.5, + aes(color = Treatment) + ) + + scale_fill_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + labs(y = "Cycle Duration (Days)", x = "Treatment") + + theme_classic() + + theme_pubr() + + theme( + legend.position = "right", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.title = element_text(size = 14), + legend.text = element_text(size = 12), + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.075, + vjust = 2 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +cycle_plot + + +### COMPARISONS BETWEEN TREATMENTS FOR EACH STAGE ### + +# subset stage durations for specific stages +stage_durations_A <- subset(stage_durations, grepl("A$", Stage)) +stage_durations_B <- subset(stage_durations, grepl("B$", Stage)) +stage_durations_C <- subset(stage_durations, grepl("C$", Stage)) +stage_durations_D <- subset(stage_durations, grepl("D$", Stage)) + +# add stage letters for stat test +stage_durations_A$stage_letter <- "A" +stage_durations_B$stage_letter <- "B" +stage_durations_C$stage_letter <- "C" +stage_durations_D$stage_letter <- "D" + +# do wilcoxon test with Benjamini-Hochberg p adjustment for each stage +stat_test_A <- stage_durations_A %>% + wilcox_test(DaysInStage ~ Treatment) %>% + adjust_pvalue(method = "BH") %>% + add_significance() +stat_test_A$stage <- "A" +stat_test_B <- stage_durations_B %>% + wilcox_test(DaysInStage ~ Treatment) %>% + adjust_pvalue(method = "BH") %>% + add_significance() +stat_test_B$stage <- "B" +stat_test_C <- stage_durations_C %>% + wilcox_test(DaysInStage ~ Treatment) %>% + adjust_pvalue(method = "BH") %>% + add_significance() +stat_test_C$stage <- "C" +stat_test_D <- stage_durations_D %>% + wilcox_test(DaysInStage ~ Treatment) %>% + adjust_pvalue(method = "BH") %>% + add_significance() +stat_test_D$stage <- "D" + +# combine results +wilcoxon_results_durations <- rbind( + stat_test_A, + stat_test_B, + stat_test_C, + stat_test_D +) +print(wilcoxon_results_durations) + + +### PLOT STAGE SPECIFIC SIGNIFICANT DIFFERENCES AND SAVE RESULTS ### + +# save_results +stage_duration_results <- subset(wilcoxon_results_durations, select = -c(.y.)) +write.csv( + stage_duration_results, + "runs/2_timeseries_data_figure2/stage_duration_wilcoxon.csv", + row.names = FALSE +) + +# set treatment order +stage_durations$Treatment <- factor( + stage_durations$Treatment, + levels = treatment_order +) + +# create plot +stage_plot <- ggplot( + stage_durations, + aes(x = StageLetter, y = DaysInStage, fill = Treatment) +) + + geom_boxplot( + outlier.shape = 16, + outlier.size = 2, + alpha = 0.5, + lwd = 0.5, + aes(color = Treatment) + ) + + scale_fill_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + scale_color_manual( + values = custom_colors, + labels = treatment_labels, + breaks = treatment_order + ) + + theme_classic() + + geom_signif( + y_position = c(59, 64, 69, 24, 30), + xmin = c(0.72, 0.912, 0.912, 2.907, 3.1), + xmax = c(1.095, 1.095, 1.27, 3.1, 3.278), + annotation = c("0.012", "0.001", "0.044", "0.024", "0.012"), + textsize = 4.4 + ) + + labs( + title = "f", + x = "Stage", + y = "N Days in Stage" + ) + + theme_pubr() + + theme( + legend.position = "right", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + legend.title = element_text(size = 14), + legend.text = element_text(size = 12), + plot.title = element_text( + face = "bold", + size = 20, + hjust = -0.075, + vjust = 2 + ), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + +# show plot +stage_plot + + +##### FINAL VISUALIZATION - FIGURE 2 ##### + +# create combined plot +combined_plot <- (plot_spacer() | basic_growth_plot) / + (model_plot | overall_treatment_plot) / + pairwise_plot_final / + stage_plot + + plot_layout() + +# show plot +combined_plot + +# save combined plot +ggsave( + "runs/2_timeseries_data_figure2/Figure2.pdf", + plot = combined_plot, + width = 12.5, + height = 20 +) +dev.off() diff --git a/workflows/3_additional_analyses_SI/SI.R b/workflows/3_additional_analyses_SI/SI.R new file mode 100644 index 0000000000000000000000000000000000000000..12cba0703b46a2a24084a59d27f7a1768dd1343f --- /dev/null +++ b/workflows/3_additional_analyses_SI/SI.R @@ -0,0 +1,341 @@ +# ------------------------------------------------------------------ +# Script Name: SI.R +# Purpose: Reproduces SI figures from "An Ectomycorrhizal Fungus Alters Development Stages Within Pedunculate Oak’s Endogenous Growth Rhythm" +# Author: Felix Zimmermann +# Date: 2025-05-07 +# Contact: felix.zimmermann@wsl.ch +# License: CC BY +# ------------------------------------------------------------------ + + +##### BASICS ##### + +# load packages +library(tidyverse) +library(viridis) +library(psych) +library(corrplot) +library(ggpubr) +library(patchwork) +library(forcats) + +# check and save session info +sessionInfo() %>% + capture.output(file = "runs/3_additional_analyses_SI/SI_session_info.txt") + + +##### DATA LOADING, CLEANING & SCALING ##### + +# laod data (dead plants are excluded in time_seriess.xlsx file) +pheno_data <- read_csv("assays/3_destructive_sampling/dataset/pheno_data.csv") +randomization_data <- read_csv("assays/1_experimental_setup/dataset/randomization.csv") + +# exclude contaminated and dead plants +pheno_data_final <- subset(pheno_data, Exclude == "no") + +# create numeric dataframe excluding rows columns only "0" entries and character columns +pheno_data_num <- pheno_data_final %>% + dplyr::select(-c("N_Other", "N_No", "Max_Stages_Reached")) %>% + dplyr::select(where(is.numeric)) + +# load estimated marginal means data for resource allocation +resource_allocation_data <- read_csv( + "runs/1_phenotypic_data_figure1/emm_resource_allocation.csv" +) + + +##### DEFINE BASIC PLOTTING PARAMETERS ##### + +# define treatment labels +treatment_labels <- c( + "Ceno" = expression(italic("Cenococcum geophilum")), + "Pilo" = expression(italic("Piloderma croceum")), + "Co_Inoc" = "Co-Inoculation", + "Control" = "Control" +) + +# define legend order +treatment_order <- c("Control", "Pilo", "Ceno", "Co_Inoc") + +# define custom colors +custom_colors <- c( + "Control" = "#4B8C6F", + "Ceno" = "#8C5E8C", + "Pilo" = "#D6C9A0", + "Co_Inoc" = "#5E96A6" +) + + +##### PLANT RANDOMIZATION PLOT - FIGURE S1A ##### + +### RANDOMIZATION BY STAGE ### + +# define custom colors +custom_colors_stage <- c( + "A" = "#66CCEE", + "B" = "#CCBB44", + "C" = "#AA3377" +) + +# set plot order +randomization_data$Treatment <- factor( + randomization_data$Treatment, + levels = treatment_order +) + +# calculate stage counts +stage_counts <- randomization_data %>% + count(Treatment, Stage) %>% + pivot_wider( + names_from = Stage, + values_from = n, + values_fill = 0 + ) + +# convert to long format +stage_counts_long <- stage_counts %>% + pivot_longer( + cols = -Treatment, + names_to = "Stage", + values_to = "N" + ) + +# plot stage counts +stage_plot <- ggplot(stage_counts_long) + + geom_bar(aes(x = Treatment, y = N, fill = Stage), stat = "identity") + + theme_pubr() + + scale_fill_manual(values = custom_colors_stage) + + scale_y_continuous(limits = c(0, 24), breaks = seq(0, 24, 1)) + + scale_x_discrete(labels = treatment_labels) + + labs( + title = "a", + x = "Treatment", + y = "N Plants" + ) + + theme( + legend.position = "right", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + plot.title = element_text(face = "bold", size = 20), + ) + +# show plot +stage_plot + + +### RANDOMIZATION BY SIZE - FIGURE 21B ### + +# plot initial stem length +stem_length_plot <- ggplot( + randomization_data %>% + mutate(Treatment = factor(Treatment, levels = treatment_order)), + aes(x = Treatment, y = Length_Init, fill = Treatment, color = Treatment) +) + + geom_boxplot(outlier.alpha = 0.5, alpha = 0.5) + + theme_pubr() + + scale_fill_manual(values = custom_colors) + + scale_color_manual(values = custom_colors) + + scale_x_discrete(labels = treatment_labels) + # Add this line for custom x-axis labels + labs( + title = "b", + x = "Treatment", + y = "Stem Length (cm)" + ) + + theme( + legend.position = "none", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + plot.title = element_text(face = "bold", size = 20), + ) + +# show plot +stem_length_plot + + +### RANDOMIZATION BY ROOTING DATE - FIGURE S1C ### + +# plot initial stem length +date_plot <- ggplot( + randomization_data %>% + mutate(Treatment = factor(Treatment, levels = treatment_order)), + aes( + x = Treatment, + y = Rooting_Date_Divergence, + fill = Treatment, + color = Treatment + ) +) + + geom_boxplot(outlier.alpha = 0.5, alpha = 0.5) + + theme_pubr() + + scale_fill_manual(values = custom_colors) + + scale_color_manual(values = custom_colors) + + scale_x_discrete(labels = treatment_labels) + # Add this line for custom x-axis labels + labs( + title = "c", + x = "Treatment", + y = "N Days Divergence from Mean Rooting Date" + ) + + theme( + legend.position = "none", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + plot.title = element_text(face = "bold", size = 20), + ) + +# show plot +date_plot + + +#### FINAL VISUALIZATION - FIGURE S1 #### + +# create combined plot +combined_plot_randomization <- stage_plot / + stem_length_plot / + date_plot + + plot_layout(widths = c(5), heights = (10)) + + plot_annotation( + title = "", + theme = theme( + plot.title = element_text(size = 16, face = "bold", hjust = 0.5) + ) + ) + +# show plot +combined_plot_randomization + +# save combined plot (has to be combined with experimental setup plot) +ggsave( + "runs/3_additional_analyses_SI/Randomization_Plot.pdf", + plot = combined_plot_randomization, + width = 12.5, + height = 15 +) +dev.off() + + +##### CORRELATION MATRIX HEATMAP - FIGURE S2 ##### + +# calculate correlation matrix and p-values +corr_results <- corr.test(na.omit(pheno_data_num), method = "spearman") +corr_matrix <- as.matrix(corr_results$r) +p_matrix <- as.matrix(corr_results$p) + +# create pdf to save plot +pdf("runs/3_additional_analyses_SI/Correlation_Plot.pdf", width = 10, height = 10) + +# plot all correlations in upper triangle +corrplot( + corr_matrix, + type = "full", + method = "circle", + tl.col = "black", + tl.srt = 90, + tl.cex = 1, + cl.cex = 1, + diag = FALSE, + title = "", + mar = c(0, 0, 0, 0) +) + +# plot only significant correlations in lower triangle +corrplot( + corr_matrix, + add = TRUE, + type = "lower", + method = "circle", + diag = FALSE, + tl.pos = "n", + cl.pos = "n", + p.mat = p_matrix, + sig.level = 0.05, + insig = "blank" +) + +# save pdf +dev.off() + +# convert correlation matrices to dataframe +corr_df <- as.data.frame(corr_matrix) +corr_df <- corr_df %>% + rownames_to_column(var = "var") +p_df <- as.data.frame(p_matrix) +p_df <- p_df %>% + rownames_to_column(var = "var") + +# save results +write_csv(corr_df, "runs/3_additional_analyses_SI/Spearman_R.csv") +write_csv(p_df, "runs/3_additional_analyses_SI/Spearman_p.csv") + + +##### RESOURCE ALLOCATION PROPORTIONS - FIGURE S3 ##### + +# define colors +custom_colors_allocation <- c( + "Roots" = "#BBBBBB", + "Shoot" = "#228833" +) + +# calculate proportions +resource_allocation_data <- resource_allocation_data %>% + group_by(Treatment) %>% + mutate(proportion = response / sum(response)) %>% + ungroup() + +# convert proportions to percent +resource_allocation_data <- resource_allocation_data %>% + mutate(percentage = proportion * 100) + + +# create reversed factor for plotting shoot over root +resource_allocation_data <- resource_allocation_data %>% + mutate(Part = fct_rev(Part)) + +# create stacked barplot +resource_proportions_plot <- ggplot( + resource_allocation_data, + aes( + x = factor(Treatment, levels = treatment_order), + y = percentage, + fill = Part + ) +) + + geom_bar(stat = "identity", position = "stack", width = 0.7) + + geom_hline( + yintercept = 50, + linetype = "dashed", + color = "black", + size = 0.5 + ) + + scale_y_continuous( + name = "Proportion (%)", + limits = c(0, 100), + breaks = seq(0, 100, by = 25) + ) + + scale_fill_manual(values = custom_colors_allocation) + + scale_x_discrete(labels = treatment_labels) + + labs(title = "", x = "Treatment") + + theme_pubr() + + theme( + legend.position = "right", + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + axis.title = element_text(size = 14), + panel.grid.major.y = element_line(color = "gray90"), + panel.grid.minor.y = element_line(color = "gray95") + ) + + +# show plot +resource_proportions_plot + +# save plot +ggsave( + "runs/3_additional_analyses_SI/Resource_Allocation_Proportions.pdf", + plot = resource_proportions_plot, + width = 12.5, + height = 5 +) +dev.off()