Last updated: 2025-10-03

Checks: 6 1

Knit directory: Genetic-diversity-and-interaction-between-the-maintainers-of-commercial-Soybean-cultivars-using-self/

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(20220620) 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 6d4687d. 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/script.Rmd

Unstaged changes:
    Modified:   README.md
    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
html 6d4687d WevertonGomesCosta 2022-06-20 Finished
Rmd d760b7a WevertonGomesCosta 2022-06-20 Article
html d760b7a WevertonGomesCosta 2022-06-20 Article
Rmd 2b46fda WevertonGomesCosta 2022-06-20 Start workflowr project.

Bem-vindo! Este repositório reúne código, dados e relatórios reprodutíveis associados ao artigo publicado na Crop Science:

Costa, W.G., et al. (2025). Genetic diversity and interaction between the maintainers of commercial Soybean cultivars using selfing. Crop Science.
DOI: 10.1002/csc2.20816

O objetivo é avaliar a diversidade genética e a interação entre mantenedores de cultivares comerciais de soja, utilizando Random Forest, Análise de Correspondência Múltipla (MCA) e Mapas Auto-Organizáveis de Kohonen (SOM).


🔄 Workflow Overview

flowchart TD
    A[Input Data<br/>Morphological descriptors, maintainers] --> B[Random Forest<br/>Variable selection]
    B --> C[MCA<br/>Dimensionality reduction]
    C --> D[SOM<br/>Clustering maintainers]
    D --> E[Results & Visualizations<br/>Diversity patterns, trait distributions, productivity trends]

Publicação Associada

Este trabalho faz parte do artigo publicado em Crop Science:
👉 Link para o artigo


Sobre o LICAE

Este projeto integra as atividades do LICAE (Laboratório de Inteligência Computacional e Aprendizado Estatístico) da UFV, especializado em inteligência computacional, aprendizado de máquina e modelagem estatística aplicados a problemas complexos em agronomia, genética e ciências biológicas.


Recursos Disponíveis

  1. Código de Análise: Scripts em R para pré-processamento, modelagem e visualização.
  2. Dados: descritores morfológicos e informações de mantenedores de cultivares comerciais.
  3. Relatórios: análises reprodutíveis em RMarkdown.
  4. Visualizações: importância de variáveis, variância explicada (MCA), clusters SOM e distribuição de características.

Como Utilizar

  1. Clone o repositório:

    git clone https://github.com/WevertonGomesCosta/Genetic-diversity-and-interaction-between-the-maintainers-of-commercial-Soybean-cultivars-using-self.git
  2. Instale as dependências em R:

    install.packages(c("tidyverse", "FactoMineR", "factoextra", "randomForest", "kohonen"))
  3. Rode o pipeline principal em RMarkdown.


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 article published in Crop Science:

Costa, W.G., et al. (2025). Genetic diversity and interaction between the maintainers of commercial Soybean cultivars using selfing. Crop Science.
DOI: 10.1002/csc2.20816

The goal is to evaluate genetic diversity and interaction among maintainers of commercial soybean cultivars, using Random Forest, Multiple Correspondence Analysis (MCA), and Self-Organizing Maps (SOM).


🔄 Workflow Overview

flowchart TD
    A[Input Data<br/>Morphological descriptors, maintainers] --> B[Random Forest<br/>Variable selection]
    B --> C[MCA<br/>Dimensionality reduction]
    C --> D[SOM<br/>Clustering maintainers]
    D --> E[Results & Visualizations<br/>Diversity patterns, trait distributions, productivity trends]

Associated Publication

This work is part of the article published in Crop Science:
👉 Link to the article


About LICAE

This project is part of the activities of the LICAE (Laboratory of Computational Intelligence and Statistical Learning) at UFV, specialized in computational intelligence, machine learning, and statistical modeling applied to complex problems in agronomy, genetics, and biological sciences.


Available Resources

  1. Analysis Code: R scripts for preprocessing, modeling, and visualization.
  2. Data: morphological descriptors and maintainer information.
  3. Reports: reproducible RMarkdown analyses.
  4. Visualizations: variable importance plots, MCA variance explained, SOM clusters, and trait distributions.

How to Use

  1. Clone the repository:

    git clone https://github.com/WevertonGomesCosta/Genetic-diversity-and-interaction-between-the-maintainers-of-commercial-Soybean-cultivars-using-self.git
  2. Install dependencies in R:

    install.packages(c("tidyverse", "FactoMineR", "factoextra", "randomForest", "kohonen"))
  3. Run the main RMarkdown pipeline.


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, Doutorando, Pós-Graduação em Genética e Melhoramento - Universidade Federal de Viçosa, ↩︎