mmollina / mappoly2

Genetic Linkage Maps in Autopolyploids v 2.0
MIT License
6 stars 2 forks source link

plot_map assertion issue #5

Open cfljam opened 2 months ago

cfljam commented 2 months ago

Using vignette data or my own raises the following:

> ## testing plot_map
> download.file("https://github.com/mmollina/mappoly2_vignettes/raw/main/I195_x_F1-85-209_map.rda", 
+              destfile = "temp_file.rda")
trying URL 'https://github.com/mmollina/mappoly2_vignettes/raw/main/I195_x_F1-85-209_map.rda'
Content type 'application/octet-stream' length 11822960 bytes (11.3 MB)
==================================================
downloaded 11.3 MB

> load("temp_file.rda")
> ## testing plot_map
> library(mappoly2)
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
> load("temp_file.rda")
> ls()
[1] "I195xF1_85_209_map"
> # just build first lg
> I195xF1_85_209_map <- mapping(I195xF1_85_209_map,
+                               lg = 1,
+                               type = "genome", 
+                               error = 0.05, ncpus = 4)
Multi-locus map estimation
Processing linkage group
   Conf. 1 :..............................
            ..............................
            ................
Done with map estimation
> plot_map(I195xF1_85_209_map,type = 'genome')
Error: assert_that: missing values present in assertion
cfljam commented 2 months ago

only an issue on main