https://github.com/biometris/statgensta
See https://biometris.github.io/statgenSTA for a full description
Science Score: 26.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
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.0%) to scientific vocabulary
Keywords
cran
genetics
r-package
single-trial-analysis
Keywords from Contributors
gxe
gxe-modelling
multi-trial-analysis
Last synced: 5 months ago
·
JSON representation
Repository
See https://biometris.github.io/statgenSTA for a full description
Basic Info
- Host: GitHub
- Owner: Biometris
- Language: R
- Default Branch: main
- Homepage: https://biometris.github.io/statgenSTA
- Size: 30.4 MB
Statistics
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 1
- Releases: 0
Topics
cran
genetics
r-package
single-trial-analysis
Created about 6 years ago
· Last pushed 8 months ago
Metadata Files
Readme
Changelog
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "75%"
)
```
# statgenSTA
[](https://www.r-pkg.org/pkg/statgenSTA)
[](https://www.r-pkg.org/pkg/statgenSTA)
[](https://github.com/Biometris/statgenSTA/actions?workflow=R-CMD-check)
[](https://app.codecov.io/gh/Biometris/statgenSTA)
**statgenSTA** is an R package providing functions for phenotypic analysis of agricultural field trials using mixed models with and without spatial components.
Analysis can be done using one of the R packages **SpATS**, **lme4** or **asreml**. For the latter a license is required which can be obtained upon purchase from [VSNi]( ).
statgenSTA has extensive options for summarizing and visualizing both the raw data and the fitted models. The example below shows a selection of what is possible. For a full overview of all options it is best to read the [**vignette**](https://biometris.github.io/statgenSTA/articles/statgenSTA.html)
## Installation
* Install from CRAN:
```{r, eval = FALSE}
install.packages("statgenSTA")
```
* Install latest development version from GitHub (requires [remotes](https://github.com/r-lib/remotes) package):
```{r, eval = FALSE}
remotes::install_github("Biometris/statgenSTA", ref = "develop", dependencies = TRUE)
```
## Examples
Example using the phenotypic data for a wheat trial in Chile. The same data is used in the vignette and described there in detail.
First get the data in the form required by the package, converting it to an object of class **T(rial)D(ata)**.
```{r createTD}
library(statgenSTA)
data(dropsRaw)
dropsTD <- createTD(data = dropsRaw,
genotype = "Variety_ID",
trial = "Experiment",
loc = "Site",
repId = "Replicate",
subBlock = "block",
rowCoord = "Row",
colCoord = "Column",
trLat = "Lat",
trLong = "Long")
```
Some plots to get a first idea of the contents of the data.
```{r layoutPlot}
## Plot the layout for Gai12W.
## Highlight genotypes A3 and 11430 in red and blue.
plot(dropsTD,
trials = "Gai12W",
highlight = c("A3", "11430"),
colHighlight = c("red", "blue"))
```
```{r mapPlot}
## Plot the locations of the trials on a map.
## Color the trials by water scenario.
plot(dropsTD,
plotType = "map",
colorTrialBy = "scenarioWater",
colTrial = c("red", "darkgreen"))
```
```{r boxPlot}
## Create a boxplot for grain yield.
plot(dropsTD,
plotType = "box",
traits = "grain.yield")
```
```{r scatterPlot}
## Create a scatter plot matrix for grain yield.
## Color trials by scenario and genotypes by family.
plot(dropsTD,
plotType = "scatter",
traits = "grain.yield",
colorTrialBy = "scenarioFull",
colorGenoBy = "geneticGroup")
```
Fit mixed models for one of the trials, Gai12W, and visualize the output.
```{r fitMod}
## Fit a single trial model using a model based on a resolvable row column design.
modDropsSp <- fitTD(TD = dropsTD,
trials = "Gai12W",
traits = "grain.yield",
design = "res.rowcol")
```
```{r basePlot}
## Spatial plot for the model with genotype fitted as fixed effect.
plot(modDropsSp,
plotType = "spatial")
```
```{r spatialPlot}
## Spatial plot for the model with genotype fitted as fixed effect.
## Display the spatial trend as a percentage.
plot(modDropsSp,
plotType = "spatial",
spaTrend = "percentage")
```
Owner
- Name: Wageningen Universtiy & Research, Biometris
- Login: Biometris
- Kind: organization
- Email: biometris@wur.nl
- Location: Wageningen, The Netherlands
- Website: https://wur.eu/biometris
- Repositories: 8
- Profile: https://github.com/Biometris
Biometris develops statistical and mathematical methods for the quantification of biological processes and processes in our living environment.
GitHub Events
Total
- Issues event: 3
- Watch event: 1
- Issue comment event: 4
- Push event: 6
- Create event: 1
Last Year
- Issues event: 3
- Watch event: 1
- Issue comment event: 4
- Push event: 6
- Create event: 1
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 1,038
- Total Committers: 4
- Avg Commits per committer: 259.5
- Development Distribution Score (DDS): 0.008
Top Committers
| Name | Commits | |
|---|---|---|
| Bart-Jan van Rossum | b****m@w****l | 1,030 |
| Bustos Korts, Daniela | d****s@w****l | 4 |
| Verouden, Maikel | m****n@w****l | 3 |
| mille016 | e****t@w****l | 1 |
Committer Domains (Top 20 + Academic)
wur.nl: 4
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 11
- Total pull requests: 0
- Average time to close issues: 22 days
- Average time to close pull requests: N/A
- Total issue authors: 9
- Total pull request authors: 0
- Average comments per issue: 2.36
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 0
- Average time to close issues: 9 days
- Average time to close pull requests: N/A
- Issue authors: 3
- Pull request authors: 0
- Average comments per issue: 2.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- GregorDall (2)
- envanloo (2)
- vrangaUQ (1)
- teunbrand (1)
- marktgee (1)
- JosephOddy (1)
- chabrault (1)
- VendelboNM (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 473 last-month
- Total docker downloads: 21,613
- Total dependent packages: 2
- Total dependent repositories: 1
- Total versions: 14
- Total maintainers: 1
cran.r-project.org: statgenSTA
Single Trial Analysis (STA) of Field Trials
- Homepage: https://biometris.github.io/statgenSTA/index.html
- Documentation: http://cran.r-project.org/web/packages/statgenSTA/statgenSTA.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL]
-
Latest release: 1.0.15
published 8 months ago
Rankings
Docker downloads count: 0.6%
Forks count: 10.8%
Dependent packages count: 13.7%
Average: 15.4%
Downloads: 15.6%
Dependent repos count: 23.9%
Stargazers count: 27.8%
Maintainers (1)
Last synced:
5 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.3 depends
- SpATS >= 1.0 imports
- emmeans * imports
- ggplot2 >= 3.3.0 imports
- ggrepel * imports
- gridExtra * imports
- knitr * imports
- lme4 * imports
- mapproj * imports
- maps * imports
- qtl * imports
- scales >= 1.1.0 imports
- xtable * imports
- asreml >= 3.0 suggests
- rmarkdown * suggests
- testthat * suggests
- tibble * suggests
.github/workflows/check.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- r-lib/actions/setup-tinytex v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite