Giter VIP home page Giter VIP logo

mrbeanapp's Introduction

MrBean

Lifecycle: experimental

Mr. Bean is an easy to use R-Shiny web-app that simplifies the analysis of large-scale plant breeding experimental analysis by using the power and versatility of Linear Mixed Models (LMM). This app combines the analytical robustness and speed of ASReml and SpATS with the visual power offered by R. Mr. Bean provides a graphical workflow for importing data, identifying outliers, and fitting field data using LMM with or without spatial correction. The results are BLUPs/BLUEs predictions and heritabilities for single-environmental experiments or multiple-environmental trial (MET) analysis. In addition, Mr. Bean also provides a module for exploring results from METs using several graphical and multivariate techniques.

https://apariciojohan.github.io/MrBeanApp/

Installation

You can install the package:

devtools::install_github("AparicioJohan/MrBeanApp")                            

or

remotes::install_github("AparicioJohan/MrBeanApp")                           

Example

library(MrBean)
run_app()

Demo

A running demo is on shinyapps.io.

Citation

Aparicio J, Gezan SA, Ariza-Suarez D, Raatz B, Diaz S, Heilman-Morales A and Lobaton J (2024) Mr.Bean: a comprehensive statistical and visualization application for modeling agricultural field trials data. Front. Plant Sci. 14:1290078.; https://doi.org/10.3389/fpls.2023.1290078

Acknowledgments

Code of Conduct

Please note that the ‘MrBean’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

mrbeanapp's People

Contributors

apariciojohan avatar beanciat avatar didiermurillof avatar nickpalladino avatar seefeldtm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mrbeanapp's Issues

Asreml Model Selector

Hi. After I run the model selector, I recieved 33 models. But I cannot select model 33 to run. Especially Model 33 has nugget and low Aic. Thanks in advance.

cannot xtfrm data frames

I have tried running a SpATS analysis in Mr. Bean on two versions of R: 4.1.3 and 4.2.0. Both give this warning ("Warning: cannot xtfrm data frames"), but the newer version does not allow analysis to continue, while the older version does. This issue is still persisting in 4.2.0 version.

pedigree and kinship mtrices for partail replicated design

Hi and thanks for the lovely package,
I am just wondering if you have any plans to add the NRM or genomic kinship matrix to the single and multi-sites models.
I think it would be very useful for model convergence in partially replicated designs in practice.

Thanks,
Mohammad

Allow running MET analysis with default weights

At the moment, it is necessary to select the column of the weights when doing a MET analysis.

It would be nice to be able to leave it empty and use a default (e.g. 1.0) value if nothing is selected. At least for performing a quick analysis using the outputs from previous exported predictions.

R Warning: cannot xtfrm data frames

I have tried running a SpATS analysis in Mr. Bean on two versions of R: 4.1.3 and 4.2.0. Both give this warning ("Warning: cannot xtfrm data frames"), but the newer version does not allow analysis to continue, while the older version does.

I looked up information about this error, and it is caused by the "order" function - here is a link to a website describing this:It Has Always Been Wrong to Call order on a data.frame

I found in the Mr. Bean source code that order is being called on a data frame for MOD_GBLUP_RESULTS.R at line 140:

140 v <- as.character(BLUPS[order(BLUPS[, indx], decreasing = TRUE), 2])

The above website recommends using the "wrapr" package and calling "orderv()" instead.

Suggest to allow trials without row and column to be run

Dear Johan, this is not a bug report but a suggestion. It would be nice to allow the run of experiments with and without spatial coordinates so the MET analysis can be done between a combination of both. Currently, the row and col are mandatory. Maybe tag it as a potential enhancement? Thanks for the great tool!

Eduardo

data sets are not imported.

Thanks again for the nice work!
I have installed the MrBean app from GitHub and the user interface goes alive. However, when i load the data using import Data option from Data -> uplod , it does nothing and it seems Data panel is spinning to load the dataset but no data is shown.
here is a snapshot from the UI
image

below is my R session info:
sessionInfo()
R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

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

time zone: Europe/Berlin
tzcode source: internal

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

other attached packages:
[1] MrBean_2.0.9 shiny_1.8.1

loaded via a namespace (and not attached):
[1] rstudioapi_0.16.0 jsonlite_1.8.8 magrittr_2.0.3 estimability_1.5
[5] magick_2.8.3 nloptr_2.0.3 rmarkdown_2.26 fs_1.6.3
[9] vctrs_0.6.5 memoise_2.0.1 config_0.3.2 minqa_1.2.6
[13] base64enc_0.1-3 rstatix_0.7.2 htmltools_0.5.8 forcats_1.0.0
[17] broom_1.0.5 cellranger_1.1.0 sass_0.4.9 parallelly_1.37.1
[21] bslib_0.6.2 fontawesome_0.5.2 htmlwidgets_1.6.4 desc_1.4.3
[25] testthat_3.2.1 plyr_1.8.9 echarts4r_0.4.5 emmeans_1.10.0
[29] plotly_4.10.4 lubridate_1.9.3 cachem_1.0.8 mime_0.12
[33] lifecycle_1.0.4 pkgconfig_2.0.3 colourpicker_1.3.0 Matrix_1.6-5
[37] R6_2.5.1 fastmap_1.1.1 future_1.33.2 digest_0.6.35
[41] sever_0.0.7 numDeriv_2016.8-1.1 colorspace_2.1-0 reshape_0.8.9
[45] furrr_0.3.1 shinycssloaders_1.0.0 rprojroot_2.0.4 pkgload_1.3.4
[49] shinytoastr_2.2.0 crosstalk_1.2.1 ggpubr_0.6.0 fansi_1.0.6
[53] timechange_0.3.0 httr_1.4.7 abind_1.4-5 compiler_4.3.3
[57] withr_3.0.0 pander_0.6.5 attempt_0.3.1 backports_1.4.1
[61] carData_3.0-5 psych_2.4.3 pkgbuild_1.4.4 broom.mixed_0.2.9.4
[65] ggsignif_0.6.4 MASS_7.3-60.0.1 waiter_0.2.5 tools_4.3.3
[69] formattable_0.2.1 httpuv_1.6.15 glue_1.7.0 nlme_3.1-164
[73] promises_1.2.1 grid_4.3.3 checkmate_2.3.1 bs4Dash_2.3.3
[77] reshape2_1.4.4 generics_0.1.3 gtable_0.3.4 SpATS_1.0-18
[81] tidyr_1.3.1 data.table_1.15.2 sommer_4.3.4 xml2_1.3.6
[85] car_3.1-2 utf8_1.2.4 ggrepel_0.9.5 pillar_1.9.0
[89] shinyalert_3.0.0 stringr_1.5.1 spam_2.10-0 later_1.3.2
[93] rintrojs_0.3.4 splines_4.3.3 dplyr_1.1.4 pryr_0.1.6
[97] lattice_0.22-6 tidyselect_1.2.1 miniUI_0.1.1.1 knitr_1.45
[101] svglite_2.1.3 xfun_0.43 brio_1.1.4 factoextra_1.0.7
[105] rapportools_1.1 matrixStats_1.2.0 DT_0.32 stringi_1.8.3
[109] lazyeval_0.2.2 yaml_2.3.8 boot_1.3-29 shinyWidgets_0.8.3
[113] kableExtra_1.4.0 evaluate_0.23 codetools_0.2-19 tcltk_4.3.3
[117] tibble_3.2.1 cli_3.6.2 xtable_1.8-4 systemfonts_1.0.6
[121] munsell_0.5.0 jquerylib_0.1.4 QBMS_1.0.0 golem_0.4.1
[125] Rcpp_1.0.12 readxl_1.4.3 globals_0.16.3 coda_0.19-4.1
[129] summarytools_1.0.1 parallel_4.3.3 ggplot2_3.5.0 dotCall64_1.1-1
[133] lme4_1.1-35.1 listenv_0.9.1 mvtnorm_1.2-4 viridisLite_0.4.2
[137] lmerTest_3.1-3 scales_1.3.0 crayon_1.5.2 purrr_1.0.2
[141] rlang_1.1.3 mnormt_2.1.1 shinyjs_2.1.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.