Skip to content

autoplot of GatingHierarchy creates spurious empty plot #101

@malcook

Description

@malcook

Executing the following produces two plots in the pwd, Rplot001.png and Rplot002.png

The first plot is blank.

I expect only the second plot should be created.

png()
dataDir <- system.file("extdata",package="flowWorkspaceData")
gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
gh <- gs[[1]]
autoplot(gh) # by default the strip.text shows the parent population
dev.off()
null device 

using

> sessionInfo()
R version 4.4.0 (2024-04-24)
Platform: x86_64-pc-linux-gnu
Running under: Rocky Linux 8.10 (Green Obsidian)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblasp-r0.3.15.so;  LAPACK version 3.9.0

locale:
[1] C

time zone: America/Chicago
tzcode source: system (glibc)

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

other attached packages:
 [1] flowStats_4.16.0     flowViz_1.68.0       lattice_0.22-6       flowClust_3.42.0     openCyto_2.16.1      ggcyto_1.32.0        flowWorkspace_4.16.0
 [8] ncdfFlow_2.50.0      BH_1.84.0-0          flowCore_2.17.1      cowplot_1.1.3        scales_1.3.0         data.table_1.15.4    ggplot2_3.5.1       
[15] magrittr_2.0.3       withr_3.0.0          functional_0.6      

loaded via a namespace (and not attached):
 [1] gtable_0.3.5        ks_1.14.2           latticeExtra_0.6-30 Biobase_2.64.0      bitops_1.0-7        vctrs_0.6.5         generics_0.1.3      stats4_4.4.0       
 [9] tibble_3.2.1        fansi_1.0.6         DEoptimR_1.1-3      cluster_2.1.6       fds_1.8             pkgconfig_2.0.3     Matrix_1.7-0        KernSmooth_2.23-22 
[17] RColorBrewer_1.1-3  S4Vectors_0.42.0    graph_1.82.0        lifecycle_1.0.4     farver_2.1.2        compiler_4.4.0      deldir_2.0-4        munsell_0.5.1      
[25] mnormt_2.1.1        clue_0.3-65         rainbow_3.8         RCurl_1.98-1.14     pracma_2.4.4        crayon_1.5.2        hexbin_1.28.3       pillar_1.9.0       
[33] rrcov_1.7-6         MASS_7.3-60.2       mclust_6.1.1        robustbase_0.99-4   RProtoBufLib_2.16.0 tidyselect_1.2.1    mvtnorm_1.2-6       dplyr_1.1.4        
[41] labeling_0.4.3      splines_4.4.0       pcaPP_2.0-5         grid_4.4.0          colorspace_2.1-0    cli_3.6.2           RBGL_1.80.0         XML_3.99-0.16.1    
[49] utf8_1.2.4          corpcor_1.6.10      matrixStats_1.3.0   jpeg_0.1-10         interp_1.1-6        deSolve_1.40        gridExtra_2.3       cytolib_2.15.3     
[57] png_0.1-8           rlang_1.1.4         Rcpp_1.0.12         hdrcde_3.4          fda_6.1.8           glue_1.7.0          Rgraphviz_2.48.0    BiocGenerics_0.50.0
[65] R6_2.5.1            plyr_1.8.9          IDPmisc_1.1.21      zlibbioc_1.50.0    
> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions