FielDHub

FielDHub: A Shiny App for Design of Experiments in Life Sciences - Published in JOSS (2021)

https://github.com/didiermurillof/fieldhub

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    3 of 8 committers (37.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

agricultural breeding design doe experimental plantbreeding r rstats shiny
Last synced: 6 months ago · JSON representation

Repository

FielDHub is an R Shiny design of experiments (DOE) app that aids in the creation of traditional, unreplicated, augmented and partially replicated (p-rep) designs applied to agriculture, plant breeding, forestry, animal and biological sciences.

Basic Info
Statistics
  • Stars: 51
  • Watchers: 5
  • Forks: 24
  • Open Issues: 4
  • Releases: 1
Topics
agricultural breeding design doe experimental plantbreeding r rstats shiny
Created almost 5 years ago · Last pushed 9 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
library(FielDHub)
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = NA,
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```


# FielDHub [![CRAN status](https://www.r-pkg.org/badges/version/FielDHub)](https://cran.r-project.org/web//packages/FielDHub/) [![R-CMD-check](https://github.com/DidierMurilloF/FielDHub/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/DidierMurilloF/FielDHub/actions/workflows/R-CMD-check.yaml) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![cranlogs](https://cranlogs.r-pkg.org/badges/FielDHub)](https://cranlogs.r-pkg.org/badges/FielDHub) [![cranlogs](https://cranlogs.r-pkg.org/badges/grand-total/FielDHub)](https://cranlogs.r-pkg.org/badges/grand-total/FielDHub) ## A Shiny App for Design of Experiments in Life Sciences ## Installation ### From CRAN ``` r install.packages("FielDHub") ``` ### From GitHub ``` r remotes::install_github("DidierMurilloF/FielDHub") ``` ## FielDHub Paper [![DOI](https://joss.theoj.org/papers/10.21105/joss.03122/status.svg)](https://doi.org/10.21105/joss.03122) ## Overview A shiny design of experiments (DOE) app that aids in the creation of traditional, un-replicated, augmented and partially-replicated designs applied to agriculture, plant breeding, forestry, animal and biological sciences. For more details and examples of all functions present in the FielDHub package. Please, go to . ## Usage This is a basic example which shows you how to launch the app: ``` r library(FielDHub) run_app() ``` ### Diagonal Arrangement Example A project needs to test 280 genotypes in a field containing 16 rows and 20 columns of plots. In this example, these 280 genotypes are divided among three different experiments. In addition, four checks are included in a systematic diagonal arrangement across experiments to fill 40 plots representing 12.5% of the total number of experimental plots. An option to include filler plots is also available for fields where the number of experimental plots does not equal the number of available field plots. The figure above shows a map of an experiment randomized along with multiple experiments (three) and checks on diagonals. Distinctively colored check plots are replicated throughout the field in a systematic diagonal arrangement. The figure above shows the layout for the three experiments in the field. ### Using the FielDHub function `diagonal_arrangement()` To illustrate using FielDHub to build experimental designs through R code, the design produced in the R Shiny interface described above can also be created using the function `diagonal_arrangement()` in the R script below. Note, that to obtain identical results, users must include the same random seed in the script as was used in the Shiny app. In this case, the random seed is 1249. ```{r} diagonal <- diagonal_arrangement( nrows = 16, ncols = 20, lines = 280, checks = 4, plotNumber = 101, splitBy = "row", seed = 1249, kindExpt = "DBUDC", blocks = c(100, 100, 80), exptName = c("Expt1", "Expt2", "Expt3") ) ``` Users can print the returned values from `diagonal_arrangement()` as follow, ```{r} print(diagonal) ``` First 12 rows of the field book, ```{r} head(diagonal$fieldBook, 12) ``` Users can plot the layout design from `diagonal_arrangement()` using the function `plot()` as follows, ```{r, fig.align='center', fig.width=6.8, fig.height=4.7} plot(diagonal) ``` In the figure, salmon, green, and blue shade the blocks of unreplicated experiments, while distinctively colored check plots are replicated throughout the field in a systematic diagonal arrangement. The main difference between using the FielDHub Shiny app and using the standalone function `diagonal_arrangement()` is that the standalone function will allocate filler only if it is necessary, while in Shiny App, users can customize the number of fillers if it is needed. In cases where users include fillers, either between or after experiments, the Shiny app is preferable for filling and visualizing all field plots. To see more examples, go to ### Partially Replicated Design Example Partially replicated designs are commonly employed in early generation field trials. This type of design is characterized by replication of a portion of the entries, with the remaining entries only appearing once in the experiment. As an example, considered a field trial with 288 plots containing 75 entries appearing two times each, and 138 entries only appearing once. This field trials is arranged in a field of 16 rows by 18 columns. In the figure above, green plots contain replicated entries, and the other plots contain entries that only appear once. ### Using the FielDHub function `partially_replicated()` Instead of using the Shiny FielDHub app, users can use the standalone FielDHub function `partially_replicated()`. The partially replicated layout described above can be produced through scripting as follows. As noted in the previous example, to obtain identical results between the script and the Shiny app, users need to use the same random seed, which, in this case, is 77. ```{r} pREP <- partially_replicated( nrows = 16, ncols = 18, repGens = c(138,75), repUnits = c(1,2), planter = "serpentine", plotNumber = 1, exptName = "ExptA", locationNames = "FARGO", seed = 77 ) ``` Users can print returned values from `partially_replicated()` as follows, ```{r} print(pREP) ``` First 12 rows of the fieldbook, ```{r} head(pREP$fieldBook, 12) ``` Users can plot the layout design from `partially_replicated()` using the function `plot()` as follows, ```{r, fig.align='center', fig.width=6.8, fig.height=4.7} plot(pREP) ``` To see more examples, please go to

Owner

  • Name: Didier A Murillo Florez
  • Login: DidierMurilloF
  • Kind: user
  • Location: Fargo ND, US
  • Company: NDSU

Statistician by training and developer by calling.

JOSS Publication

FielDHub: A Shiny App for Design of Experiments in Life Sciences
Published
May 18, 2021
Volume 6, Issue 61, Page 3122
Authors
Didier A. Murillo
North Dakota State University
Salvador A. Gezan
VSN International
Ana M. Heilman
North Dakota State University
Thomas C. Walk
North Dakota State University
Johan S. Aparicio
CIAT (International Center for Tropical Agriculture)
Richard D. Horsley
North Dakota State University
Editor
Charlotte Soneson ORCID
Tags
Shiny DOE Unreplicated Designs Partially-Replicated Designs Plant Breeding

GitHub Events

Total
  • Issues event: 6
  • Watch event: 10
  • Issue comment event: 16
  • Push event: 14
  • Pull request event: 6
  • Fork event: 2
  • Create event: 1
Last Year
  • Issues event: 6
  • Watch event: 10
  • Issue comment event: 16
  • Push event: 14
  • Pull request event: 6
  • Fork event: 2
  • Create event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 359
  • Total Committers: 8
  • Avg Commits per committer: 44.875
  • Development Distribution Score (DDS): 0.214
Past Year
  • Commits: 11
  • Committers: 1
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Didier Murillo Florez d****z@n****u 282
Matthew Seefeldt m****t@n****u 32
Didier Murillo d****o@D****l 28
Didier Murillo d****o@D****e 8
David LeBauer d****r@a****u 4
Prof-ThiagoOliveira t****a@u****r 3
Kyle Niemeyer k****r@f****m 1
2 t****o@g****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 26
  • Total pull requests: 33
  • Average time to close issues: 2 months
  • Average time to close pull requests: 2 days
  • Total issue authors: 12
  • Total pull request authors: 6
  • Average comments per issue: 3.38
  • Average comments per pull request: 0.09
  • Merged pull requests: 33
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 6
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 1 minute
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 3.33
  • Average comments per pull request: 0.0
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Prof-ThiagoOliveira (8)
  • DidierMurilloF (3)
  • dlebauer (3)
  • SchmidtPaul (2)
  • AparicioJohan (2)
  • kaibagley (1)
  • aceasterly (1)
  • GregorDallinger (1)
  • BB1464 (1)
  • sebastian-raubach (1)
  • kkjjag (1)
Pull Request Authors
  • DidierMurilloF (29)
  • seefeldtm (4)
  • dlebauer (2)
  • Prof-ThiagoOliveira (2)
  • andyquinterom (1)
  • kyleniemeyer (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 790 last-month
  • Total docker downloads: 21,613
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 8
  • Total maintainers: 1
cran.r-project.org: FielDHub

A Shiny App for Design of Experiments in Life Sciences

  • Versions: 8
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 790 Last month
  • Docker Downloads: 21,613
Rankings
Forks count: 4.1%
Stargazers count: 9.4%
Downloads: 11.9%
Average: 15.5%
Dependent repos count: 24.3%
Dependent packages count: 27.9%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.6.0 depends
  • DT * imports
  • blocksdesign * imports
  • config * imports
  • desplot * imports
  • dplyr * imports
  • ggplot2 * imports
  • golem * imports
  • htmltools * imports
  • magrittr * imports
  • numbers * imports
  • plotly * imports
  • shiny >= 1.6.0 imports
  • shinyalert * imports
  • shinycssloaders * imports
  • shinyjqui * imports
  • shinyjs * imports
  • shinythemes * imports
  • turner * imports
  • viridis * imports
  • glue * suggests
  • knitr * suggests
  • rlang * suggests
  • rmarkdown * suggests
  • spelling * suggests
  • testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action 4.1.4 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
Dockerfile docker
  • rstudio/r-base 4.1.1-focal build