Comments (2)
Fixed!!!. @TiagoOlivoto
I had to update several packages (glue, backports, lme4, etc.), but it worked!
Thank you so much! Best luck with CRAN stable version.
Best regards,
Adelina.
from metan.
Dear @adelinalarsen thank you for your report. metan was not accepting special characters in genotype or environment labels. This bug was already fixed in the development version of metan. Just install metan from github again.
devtools::install_github("TiagoOlivoto/metan")
For future issues, I'd suggest using the package reprex to report a reproducible example. Please, take a look in the example with your data.
library(metan)
#> Registered S3 method overwritten by 'GGally':
#> method from
#> +.gg ggplot2
#> []=====================================================[]
#> [] Multi-Environment Trial Analysis (metan) v1.4.0.9000[]
#> [] Author: Tiago Olivoto []
#> [] Type citation('metan') to know how to cite metan []
#> [] Type vignette('metan_start') for a short tutorial []
#> [] Visit http://bit.ly/2TIq6JE for a complete tutorial []
#> []=====================================================[]
library(readxl)
df <- read_excel("D:/Desktop/metan_docs/metan_errors/metan.xlsx")
model <-
waasb(df,
env = ENV,
gen = GEN,
rep = REP,
resp = GY)
#> Method: REML/BLUP
#> Random effects: GEN, GEN:ENV
#> Fixed effects: ENV, REP(ENV)
#> Denominador DF: Satterthwaite's method
#> ---------------------------------------------------------------------------
#> P-values for Likelihood Ratio Test of the analyzed traits
#> ---------------------------------------------------------------------------
#> model GY
#> COMPLETE NA
#> GEN 0.12115
#> GEN:ENV 0.00368
#> ---------------------------------------------------------------------------
#> All variables with significant (p < 0.05) genotype-vs-environment interaction
get_model_data(model, "vcomp")
#> Class of the model: waasb
#> Variable extracted: vcomp
#> # A tibble: 3 x 2
#> Group GY
#> <chr> <dbl>
#> 1 GEN 10185.
#> 2 GEN:ENV 39944.
#> 3 Residual 216753.
get_model_data(model, "ranef")$GEN
#> Class of the model: waasb
#> Variable extracted: ranef
#> GEN GY
#> 1 BICAR -48.3766075
#> 2 BIQUI 126.8142707
#> 3 BZAF 65.7360536
#> 4 CBW#10211 0.1770672
#> 5 CBW#10242 -37.0717310
#> 6 CBW#10416 -5.4692823
#> 7 CBW#10802 -101.8097707
Created on 2020-04-08 by the reprex package (v0.3.0)
I'm planning a new stable release on CRAN within the next couple of days. Since this bug was already fixed in the development version I'm closing this issue now.
Best regards
from metan.
Related Issues (20)
- Release metan 1.16.0 HOT 1
- error while analysis path analysis HOT 7
- Problem with ge_stats HOT 3
- AMMI Analysis HOT 2
- Shukla Stablility with wrong length of levels HOT 1
- print_table(.) : could not find function "print_table" HOT 1
- MGIDI selection differential is false if averaged data is negative HOT 2
- error when I run ge_stat() code of metan package HOT 8
- Problem with plot.gge or plot function HOT 2
- Error in corr_coef(data, ..., type = c("linear", "partial"), method = c("pearson", : could not find function "corr_coef" HOT 2
- Error in path_coeff(datt, resp = SYPPI) : could not find function "path_coeff" HOT 2
- Same code of "metan" running on on one dataset, but not on similar second dataset HOT 2
- Inclusion of covariate to dependent trait while calculating BLUP values
- Inclusion of covariate to dependent trait while calculating BLUP values HOT 1
- How to remove outliers in METAN HOT 1
- metan temporarily out of CRAN HOT 1
- Mislabeling of ENV and GEN in Which Won Where Biplot HOT 6
- rep and block arguments for gge HOT 1
- problem in running your example code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metan.