Skip to contents

Introduction

This vignette provides an overview of the current development status of the anndataR package. It provides details on the current implementation of different features as well as listing known issues.

Objects

These tables show the status of the implementation of different AnnData back ends.

HDF5AnnData

Slot Getter Getter test Setter Setter test
layers
obs
obs_names
obsm
obsp
raw
uns
var
var_names
varm
varp
X

InMemoryAnnData

Slot Getter Getter test Setter Setter test
layers
obs
obs_names
obsm
obsp
raw
uns
var
var_names
varm
varp
X

ReticulateAnnData

Slot Getter Getter test Setter Setter test
layers
obs
obs_names
obsm
obsp
uns
var
var_names
varm
varp
X

Conversion

These tables show the implementation status of conversion between AnnData and other objects.

SingleCellExperiment

Slot From From test To To test
layers
obs
obs_names
obsm 🚧 🚧
obsp
raw
uns
var
var_names
varm 🚧 🚧
varp
X

Seurat

Slot From From test To To test
layers
obs
obs_names
obsm 🚧 🚧
obsp
raw
uns
var
var_names
varm 🚧
varp
X

Known issues

This section lists current known issues in anndataR. Only certain types of issues are listed here, for additional issues see the GitHub issue tracker.

Issue: converted sce object has dimnames(), whilst the original anndata does not.

  • Affected backend: to_SCE
  • Affected slot(s): obsm, varm
  • Affected dtype(s): pca
  • Probable cause: convert
  • To investigate: TRUE
  • To fix: FALSE

Error message

sampleFactors(reducedDims(sce)$pca) (`actual`) not equal to ad$obsm[["X_pca"]] (`expected`).
`dimnames(actual)` is a list `dimnames(expected)` is absent

Proposed solution

Investigate if this is a problem or not.

Session info

## R version 4.5.1 (2025-06-13)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 24.04.3 LTS
## 
## Matrix products: default
## BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so;  LAPACK version 3.12.0
## 
## locale:
##  [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
##  [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
##  [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
## [10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   
## 
## time zone: UTC
## tzcode source: system (glibc)
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] tidyr_1.3.1      dplyr_1.1.4      purrr_1.1.0      stringr_1.5.2   
## [5] rprojroot_2.1.1  knitr_1.50       tibble_3.3.0     BiocStyle_2.36.0
## 
## loaded via a namespace (and not attached):
##  [1] vctrs_0.6.5         cli_3.6.5           rlang_1.1.6        
##  [4] xfun_0.53           stringi_1.8.7       generics_0.1.4     
##  [7] textshaping_1.0.3   jsonlite_2.0.0      glue_1.8.0         
## [10] htmltools_0.5.8.1   ragg_1.5.0          sass_0.4.10        
## [13] rmarkdown_2.30      evaluate_1.0.5      jquerylib_0.1.4    
## [16] fastmap_1.2.0       yaml_2.3.10         lifecycle_1.0.4    
## [19] bookdown_0.45       BiocManager_1.30.26 compiler_4.5.1     
## [22] fs_1.6.6            pkgconfig_2.0.3     htmlwidgets_1.6.4  
## [25] systemfonts_1.3.1   digest_0.6.37       R6_2.6.1           
## [28] tidyselect_1.2.1    pillar_1.11.1       magrittr_2.0.4     
## [31] bslib_0.9.0         withr_3.0.2         tools_4.5.1        
## [34] pkgdown_2.1.3       cachem_1.1.0        desc_1.4.3