Last updated: 2025-10-03

Checks: 6 1

Knit directory: analisys-next-gen-2022/

This reproducible R Markdown analysis was created with workflowr (version 1.7.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20251003) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 86e7b0b. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  analysis/1_Trials-and-traits-2023.Rmd
    Untracked:  analysis/2_Phenotype_data.Rmd
    Untracked:  analysis/3_Blups_cycles.Rmd

Unstaged changes:
    Modified:   analysis/_site.yml
    Modified:   analysis/about.Rmd
    Modified:   analysis/index.Rmd
    Modified:   analysis/license.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 2ed2d9d WevertonGomesCosta 2025-10-03 Start workflowr project.

Bem-vindo! Este repositório reúne código, dados e relatórios reprodutíveis associados às análises do Projeto NextGen Cassava (Ano 6 – 2022/2023), conduzidas no programa de melhoramento de mandioca da Embrapa.

O objetivo é avaliar o progresso genético e a integração de características de rendimento e qualidade em populações GS (C0, C1, C2), utilizando modelos mistos, BLUPs, índices de seleção e seleção genômica.


🔄 Workflow Overview

flowchart TD
    A[Input Data<br/>Phenotypes, metadata, fieldbooks] --> B[Data Cleaning<br/>Population structure (C0, C1, C2)]
    B --> C[BLUPs & Heritability<br/>Mixed models with metan]
    C --> D[Selection Indices<br/>Yield + Quality traits]
    D --> E[Integration<br/>Drought tolerance, NIRS, GWAS]
    E --> F[Results & Visualizations<br/>Genetic gain, trait distributions, clone ranking]

Contexto


Recursos Disponíveis

  1. Código de Análise: Scripts em R para pré-processamento, modelagem e visualização.
  2. Dados: fenótipo, metadados e fieldbooks de ensaios.
  3. Relatórios: análises reprodutíveis em RMarkdown.
  4. Visualizações: gráficos de progresso genético, boxplots de BLUPs, índices de seleção e rankings de clones.

Como Utilizar

  1. Clone o repositório:

    git clone https://github.com/WevertonGomesCosta/analisys-next-gen-2022.git
  2. Instale as dependências em R:

    install.packages(c("tidyverse", "metan", "ggplot2", "ggpubr", "data.table", "genomicMateSelectR"))
  3. Rode os arquivos .Rmd em analysis/ para reproduzir as análises.


Contribuição

Contribuições são bem-vindas via:
- Issues para discussão de melhorias
- Pull requests para correções
- Sugestões de extensões metodológicas


Licença

Este trabalho está licenciado sob CC BY-NC-SA 4.0.
Para uso comercial ou modificações significativas, contate os autores.


English Version

Welcome! This repository contains code, data, and reproducible reports associated with the analyses of the NextGen Cassava Project (Year 6 – 2022/2023), conducted within the cassava breeding program at Embrapa.

The goal is to evaluate genetic progress and integration of yield and quality traits in GS populations (C0, C1, C2), using mixed models, BLUPs, selection indices, and genomic selection.


🔄 Workflow Overview

flowchart TD
    A[Input Data<br/>Phenotypes, metadata, fieldbooks] --> B[Data Cleaning<br/>Population structure (C0, C1, C2)]
    B --> C[BLUPs & Heritability<br/>Mixed models with metan]
    C --> D[Selection Indices<br/>Yield + Quality traits]
    D --> E[Integration<br/>Drought tolerance, NIRS, GWAS]
    E --> F[Results & Visualizations<br/>Genetic gain, trait distributions, clone ranking]

Context

  • Trials: more than 240 trials entered into CassavaBase since 2018.
  • Clones evaluated: 3403 in 2022/2023 (C0, C1, C2).
  • Traits: 69 yield and quality traits.
  • Results: consistent genetic gains in yield, integration of quality, and drought tolerance.

Available Resources

  1. Analysis Code: R scripts for preprocessing, modeling, and visualization.
  2. Data: phenotypes, metadata, and fieldbooks.
  3. Reports: reproducible RMarkdown analyses.
  4. Visualizations: genetic progress plots, BLUP boxplots, selection indices, and clone rankings.

How to Use

  1. Clone the repository:

    git clone https://github.com/WevertonGomesCosta/analisys-next-gen-2022.git
  2. Install dependencies in R:

    install.packages(c("tidyverse", "metan", "ggplot2", "ggpubr", "data.table", "genomicMateSelectR"))
  3. Run the .Rmd files in analysis/ to reproduce the analyses.


Contribution

Contributions are welcome via:
- Opening issues for improvement discussions
- Submitting pull requests for fixes
- Suggesting methodological extensions


License

This work is licensed under CC BY-NC-SA 4.0.
For commercial use or significant modifications, please contact the authors.


sessionInfo()
R version 4.5.1 (2025-06-13 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26100)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=Portuguese_Brazil.utf8  LC_CTYPE=Portuguese_Brazil.utf8   
[3] LC_MONETARY=Portuguese_Brazil.utf8 LC_NUMERIC=C                      
[5] LC_TIME=Portuguese_Brazil.utf8    

time zone: America/Sao_Paulo
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] vctrs_0.6.5       cli_3.6.5         knitr_1.50        rlang_1.1.6      
 [5] xfun_0.53         stringi_1.8.7     promises_1.3.3    jsonlite_2.0.0   
 [9] workflowr_1.7.2   glue_1.8.0        rprojroot_2.1.1   git2r_0.36.2     
[13] htmltools_0.5.8.1 httpuv_1.6.16     sass_0.4.10       rmarkdown_2.29   
[17] evaluate_1.0.5    jquerylib_0.1.4   tibble_3.3.0      fastmap_1.2.0    
[21] yaml_2.3.10       lifecycle_1.0.4   whisker_0.4.1     stringr_1.5.2    
[25] compiler_4.5.1    fs_1.6.6          Rcpp_1.1.0        pkgconfig_2.0.3  
[29] rstudioapi_0.17.1 later_1.4.4       digest_0.6.37     R6_2.6.1         
[33] pillar_1.11.1     magrittr_2.0.4    bslib_0.9.0       tools_4.5.1      
[37] cachem_1.1.0     

  1. Weverton Gomes da Costa, Pós-Doutorando, Embrapa Mandioca e Fruticultura, ↩︎