Skip to content

names() does not include the description #273

@SamGG

Description

@SamGG

Hi guys,
I noticed that the documentation of the names() function/method does not match its result as the description is not included.
Best,
Samuel

library(flowCore)
data("GvHD")
# names Extract pretty formated names of the parameters including parameter descriptions.
names(GvHD[[1]])
#> [1] "<FSC-H> FSC-H" "<SSC-H> SSC-H" "<FL1-H> FL1-H" "<FL2-H> FL2-H"
#> [5] "<FL3-H> FL3-H" "<FL2-A> FL2-A" "<FL4-H> FL4-H" "<Time> Time"
pData(parameters(GvHD[[1]]))
#>      name              desc range minRange maxRange
#> $P1 FSC-H        FSC-Height  1024        0     1023
#> $P2 SSC-H        SSC-Height  1024        0     1023
#> $P3 FL1-H         CD15 FITC  1024        1    10000
#> $P4 FL2-H           CD45 PE  1024        1    10000
#> $P5 FL3-H        CD14 PerCP  1024        1    10000
#> $P6 FL2-A              <NA>  1024        0     1023
#> $P7 FL4-H          CD33 APC  1024        1    10000
#> $P8  Time Time (51.20 sec.)  1024        0     1023
sessionInfo()
#> R version 4.4.2 (2024-10-31 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 11 x64 (build 22631)
#> 
#> Matrix products: default
#> 
#> 
#> locale:
#> [1] LC_COLLATE=French_France.utf8  LC_CTYPE=French_France.utf8   
#> [3] LC_MONETARY=French_France.utf8 LC_NUMERIC=C                  
#> [5] LC_TIME=French_France.utf8    
#> 
#> time zone: Europe/Paris
#> tzcode source: internal
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] flowCore_2.18.0
#> 
#> loaded via a namespace (and not attached):
#>  [1] digest_0.6.37       fastmap_1.2.0       xfun_0.50          
#>  [4] matrixStats_1.5.0   glue_1.8.0          RProtoBufLib_2.18.0
#>  [7] cytolib_2.18.1      knitr_1.49          BiocGenerics_0.52.0
#> [10] Biobase_2.66.0      htmltools_0.5.8.1   rmarkdown_2.29     
#> [13] stats4_4.4.2        lifecycle_1.0.4     cli_3.6.3          
#> [16] reprex_2.1.1        withr_3.0.2         compiler_4.4.2     
#> [19] rstudioapi_0.17.1   tools_4.4.2         evaluate_1.0.3     
#> [22] yaml_2.3.10         S4Vectors_0.44.0    rlang_1.1.4        
#> [25] fs_1.6.5

Created on 2025-01-20 with reprex v2.1.1

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