Last updated: 2025-09-16

Checks: 6 1

Knit directory: Integrating-nir-genomic-kernel/

This reproducible R Markdown analysis was created with workflowr (version 1.7.1). 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(20250829) 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 554b17f. 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:    .Rhistory
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  data/Article.docx
    Untracked:  data/Articles/Maize-NIRS-GBS-main/
    Untracked:  data/Articles/The Plant Genome - 2022 - Ray - Comparing artificial‐intelligence techniques with state‐of‐the‐art parametric prediction.pdf
    Untracked:  data/Articles/Y7.csv
    Untracked:  data/Articles/YCV1_CV2.csv
    Untracked:  data/Articles/dados.zip
    Untracked:  data/Articles/gen.txt

Unstaged changes:
    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 51754b1 WevertonGomesCosta 2025-08-29 add index, about, and license .rmd and .html
Rmd a2bc83b WevertonGomesCosta 2025-08-29 Start workflowr project.

Integrating NIR Spectroscopy & Genomic Data

Bem-vindo! Este repositório reúne código, dados e relatórios associados ao estudo da integração de espectroscopia no infravermelho próximo (NIR) e dados genômicos para aprimorar a predição fenômica, utilizando métodos de kernel para capturar relações não lineares e interações complexas entre genótipo, ambiente e espectro.
O objetivo é avaliar se a fusão dessas fontes de dados pode aumentar a acurácia preditiva e apoiar programas de melhoramento genético mais eficientes.

Pipeline de Análise
Pipeline de Análise

Publicação Associada

Este trabalho faz parte do Projeto de Pesquisa:

  • Processo:
  • Chamada:
  • Período:

Sobre o LICAE

Este projeto foi desenvolvido no âmbito das pesquisas do Laboratório de Inteligência Computacional e Aprendizado Estatístico (LICAE) da Universidade Federal de Viçosa (UFV), especializado em aplicações avançadas de inteligência computacional e modelagem estatística em problemas genômicos complexos.

Recursos Disponíveis

  1. Código de Análise: Scripts R para pré-processamento, modelagem e avaliação.
  2. Dados:
    • NIR: espectros pré-processados de amostras biológicas.
    • Genotípicos: SNPs de genótipos avaliados.
    • Fenotípicos: produtividade e características agronômicas.
    • Ambientais: informações de locais, anos e delineamentos experimentais.
  3. Notebooks: Exemplos interativos de análise exploratória, modelagem preditiva e integração de dados.
  4. Visualizações: Gráficos de variância por componente, acurácia (R²), RMSE e rankings de genótipos.
Arquitetura do Modelo
Arquitetura do Modelo

Como Utilizar

  1. Clone o repositório:

    git clone https://github.com/wevertongomescosta/Integrating-nir-genomic-kernel.git
  2. Instale as dependências:

    renv::restore()
  3. Execute o pipeline principal:

    Rscript scripts/main_analysis.R

Contribuição

Contribuições são bem-vindas mediante:
- Abertura de issues para discussão de melhorias
- Submissão de pull requests para correções críticas
- 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.

Contato

Coordenador
Moyses Nascimento
Professor Adjunto - Departamento de Estatística - UFV

Bolsista
Weverton Gomes da Costa
Pós-Doutorando - Departamento de Estatística - UFV

Laboratório LICAE:
| https://www.licae.ufv.br/


Integrating NIR Spectroscopy & Genomic Data

Welcome! This repository contains code, data, and reports related to the study of integrating near-infrared reflectance spectroscopy (NIR) and genomic data to improve phenomic prediction, using kernel methods to capture non-linear relationships and complex genotype × environment × spectrum interactions.
The goal is to assess whether merging these data sources can increase predictive accuracy and support more efficient breeding programs.

Analysis Pipeline
Analysis Pipeline

Associated Publication

This work is part of the Research Project:

  • Process:
  • Call:
  • Period:

About LICAE

This project was developed within the research activities of the Computational Intelligence and Statistical Learning Laboratory (LICAE) at the Federal University of Viçosa (UFV), specialized in advanced computational intelligence and statistical modeling for complex genomic problems.

Available Resources

  1. Analysis Code: R scripts for preprocessing, modeling, and evaluation.
  2. Data:
    • NIR: preprocessed spectra from biological samples.
    • Genotypic: SNP data from evaluated genotypes.
    • Phenotypic: yield and agronomic traits.
    • Environmental: location, year, and experimental design information.
  3. Notebooks: Interactive examples of exploratory data analysis, predictive modeling, and data integration.
  4. Visualizations: Variance component plots, accuracy (R²), RMSE, and genotype rankings.
Model Architecture
Model Architecture

How to Use

  1. Clone the repository:

    git clone https://github.com/wevertongomescosta/Integrating-nir-genomic-kernel.git
  2. Install dependencies:

    renv::restore()
  3. Run the main pipeline:

    Rscript scripts/main_analysis.R

Contribution

Contributions are welcome via:
- Opening issues for improvement discussions
- Submitting pull requests for critical 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.

Contact

Project Coordinator
Moyses Nascimento
Associate Professor – Department of Statistics – UFV

Research Fellow
Weverton Gomes da Costa
Post-Doctoral Researcher – Department of Statistics – UFV

LICAE Laboratory:
| https://www.licae.ufv.br/


sessionInfo()
R version 4.4.1 (2024-06-14 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26100)

Matrix products: default


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.52         stringi_1.8.7     promises_1.3.3    jsonlite_2.0.0   
 [9] workflowr_1.7.1   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.1    
[25] compiler_4.4.1    fs_1.6.6          Rcpp_1.1.0        pkgconfig_2.0.3  
[29] rstudioapi_0.17.1 later_1.4.2       digest_0.6.37     R6_2.6.1         
[33] pillar_1.11.0     magrittr_2.0.3    bslib_0.9.0       tools_4.4.1      
[37] cachem_1.1.0     

  1. Weverton Gomes da Costa, Pós-Doutorando, Departamento de Estatística - Universidade Federal de Viçosa, ↩︎