Skip to contents

bixverse 0.10.0

Features

  • bixverse-r 0.11.0 under the hood, needs manifoldsR 0.7.0.
  • Single cell ATAC. SingleCellsAtac for ATAC on its own, an ATAC layer on SingleCellsMultiModal for multiome. Load from fragments or Cell Ranger output (load_atac_fragments(), load_atac_tenx() and their add_*_sc() twins), then fragment QC and profiles, AMULET multiplets, peak calling per group, TF-IDF, LSI and RLSI, peak annotation, gene activity and peak to gene links. Two new vignettes. The ATAC plots come with bixverse.plots 0.4.0.
  • kNN, clustering, UMAP, WNN and Harmony take modality = "atac". harmony_sc() corrects any cached embedding via embd_to_use.
  • The marker functions gain method = "lr" (Seurat’s logistic regression, library size as covariate) and modality = "atac". NULL picks "lr" on ATAC and "wilcox" otherwise.
  • transfer_labels_seurat_sc(): Seurat’s anchor based label transfer, e.g. from an RNA reference onto ATAC gene activity.
  • save_zarr() writes an AnnData Zarr store. It and save_h5ad() take genes to write a subset. The h5ad loaders, prescan_h5ad_files() and the h5ad readers take Zarr stores too. No Zarr export on Windows: save_zarr() errors there, reading works.
  • umap_sc() takes the umap-learn 0.6 Adam optimiser and initialisation via manifoldsR::params_umap(optimiser = "adam_v06", init = "recursive").
  • Methods that assume RNA counts refuse peak, tile and protein stores, and refuse or warn on gene activity.
  • The agent skill is stamped with the package version and library(bixverse) warns when an installed copy lags. agent_skill_status() lists installs, skill_cli() installs and checks from a shell (Rscript -e 'bixverse::skill_cli()' skill install).

Breaking changes

  • Store format v5. v4 stores load with a warning, v3 stores no longer open. upgrade_sc_store() converts both.
  • params_nmf_consensus() loses kmeans_iters.
  • install_agent_skill() follows the Python package: agent = "codex" installs SKILL.md to .agents/skills, scope = "project" installs under the working directory, agent = "generic" and the AGENTS.md rewrite are gone.
  • New defaults, ported from the Python front end. Results move at the same seed:
    • k-means is e-means: km_type in params_sc_fast_cluster() and params_fast_cluster_default() (boost, scDblFinder), k_means_algorithm in params_kmeans_defaults() (Harmony v1 and v2). SCENIC, DSB and NMF consensus switch to e-means inside Rust.
    • Leiden runs 2 iterations instead of 5. local_moving and the new node_order default to NULL: "queue" / "bfs" for Leiden, "coloured" / "shuffle" for Louvain, so Louvain moves too.
    • Harmony v2 block_size is 0.05 instead of 0.2.
    • manifoldsR 0.7.0 moves UMAP, densMAP and ForceAtlas2 coordinates.
  • Other result changes from bixverse-r 0.11.0, all at the same seed:
    • Harmony v1 and v2 draw their random block order once per run.
    • seurat_rpca_sc() and seurat_cca_sc() search within-batch neighbours at k + 1 and cap each cell at k_weight anchor pairs, as Seurat does.
    • The normalised layer is recomputed in f32, also for v4 stores, which read it at f16 before. Values differ slightly.
    • edge-rs 0.4.0 moves the edge-rs based DGE results slightly.

Fixes

  • load_h5ad(csc_mem_gb = ...) also caps the cell-major transpose of a streamed CSC file. Results are unchanged.
  • load_tenx_h5(feature_type = "Peaks") errors and points to the ATAC loaders instead of building an RNA store of peaks.

bixverse 0.9.2

  • Works with S7 1.0.0, which rejected the bulk, graph, ontology and multi-modal constructors.

bixverse 0.9.1

  • bixverse-r 0.10.3 under the hood.
  • nebula_sc() and nebula_mc(): NEBULA-LN stage one could stop on the lower bound of the subject variance when a better interior fit existed. Up to one gene in a hundred kept sigma^2 = 1e-4, dropping the subject effect and shrinking its SEs (up to 3.6x in simulation). Stage one now restarts off the bound and keeps the better fit. Other genes are unchanged at the same seed. Some of the fixed genes now disagree with the R nebula package, which stays stuck on the same bound.

bixverse 0.9.0

A breaking release. Porting the single cell suite to Python shook out a lot of bugs and silent fallbacks, and most of the binding logic moved into bixverse-rs, shared with the Python front end. Expect some results to move against 0.8.3.

Features

  • bixverse-r 0.10.2 under the hood, needs manifoldsR 0.6.0.
  • Harmony v2 is the default in harmony_sc(), step_harmony_sc() and build_symphony_ref(), stored as "harmony". v1 lives on as harmony_v1_sc() / step_harmony_v1_sc().
  • The neighbour graph stays in Rust. get_connectivities() returns a SingleCellConnectivity (convert with as_igraph(), serialise with to_bytes() / from_bytes()). Clustering, BBKNN, WNN and the h5ad export use it directly. Old caches with an igraph convert on load.
  • knn_method = "nndescent" is graph-only: no index, no query pass. Replaces extract_knn.
  • The cell filter is a set: set_cells_to_keep() stores unique, ascending indices and errors on unknown cells. DuckDB obs.to_keep wins over the memory file.
  • load_mtx() reads .mtx.gz directly and handles integral real and pattern files. Anything else errors instead of loading garbage.
  • More SingleCellsSubset and MetaCells support (AUCell, VISION, Hotspot, gene trends), plus pipeline steps for MetaCells2, residual PCA and multi-modal objects. Misspelt step arguments error when the step is built.
  • Faster: h5ad / 10x h5 counts and obs 5x, text obs ~40x, MTX parsing 2x, CSR to CSC 2x, VST HVGs 2x, graph build plus Leiden 2x on 1M cells.

Breaking changes

Results that move against 0.8.3: Harmony v2, PHATE with defaults, scDblFinder (gbm_n_trees is honoured, 200 rounds), sample SD in every z-score, BBKNN’s stored kNN and default trim, the PCA sign convention (largest loading positive), code point sorting of group labels, nndescent recall, and a handful of parameters that were silently ignored before (WNN sigma_idx, DIALOGUE seed, no_embd_to_use, ADT PCA features).

Silent fallbacks are now loud: NA batch or group labels, unknown option values, mismatched cells_to_keep, missing Symphony HVGs, k disagreeing with the cached kNN and single-batch inputs all error or warn.

Fixes

  • Hotspot matrix labels shifted with unknown genes.
  • Expression extractors join obs by cell id, keep cell order and respect the cell filter on ADT.
  • params_sc_miloR() dropped most knn overrides.
  • scDblFinder feature rownames picked the wrong cells after filtering.
  • The h5ad export put varm/PCs on the wrong genes after re-running HVGs.
  • Plus a long tail of smaller ones: single cell scaling, ADT var indices, subset count reads, NA handling in merge_subset_obs() and prioritise_interactions(), by-reference modification of caller tables, numeric group columns, and stale docs.

bixverse 0.8.3

  • bixverse-r 0.9.3 under the hood.
  • MAD outlier detection in run_cell_qc() now scales the MAD by 1.4826 like stats::mad(), so threshold = 3 means three standard deviations under normality. This is wider than before, expect fewer cells flagged with the same threshold. r_standard = FALSE gets you the old raw MAD back.
  • tsne_sc() and densne_sc() take approx_type = "bh_qd", the quick-and-dirty Barnes-Hut from qdtsne (tree depth capped via max_depth in manifoldsR::params_tsne()). Needs manifoldsR 0.4.0.

bixverse 0.8.2

bixverse 0.8.1

  • Single cell stores are now written in the v4 file format (bixverse-r 0.9.0), several times smaller on disk and faster to scan. v3 stores still work, load_existing() warns on them and the new upgrade_sc_store() converts them in place.

bixverse 0.8.0

Features

  • bixverse-r 0.8.0 under the hood. petgraph is out of the dependency tree.
  • New params_knn_graph_defaults(). Its knn_sym picks the graph the clustering runs on: "snn" (bluster/Seurat sNN, the default), "umap" (the fuzzy simplicial set ScanPy keeps in obsp/connectivities) or "knn" (plain kNN union). Pass it via graph in params_sc_neighbours() or graph_params in generate_wnn_graph_sc(). Resolutions don’t carry over between the graphs, retune them when switching.
  • fast_cluster_sc() is rewritten. It coarsens the cells with k-means, builds a graph over the centroids (a symmetrised centroid kNN or the Secuer cell-mediated graph) and runs Louvain or Leiden on it. All knobs live in params_sc_fast_cluster(). With n_seeds > 1 it runs every resolution once per seed, keeps the labels of the seed with the lowest mean conductance and returns ARI and conductance stability stats.
  • leiden_clustering() gained min_gain and local_moving ("queue", or "coloured" to move nodes in parallel). A negative n_iterations iterates until stable. find_clusters_sc() and step_clusters_sc() pass these on via ....
  • params_sc_pca() has a new svd_solver = "auto", which is now the default. It runs Lanczos on the sparse path and the covariance solver on the dense one. The doublet detection methods (params_scrublet(), params_boost(), params_scdblfinder()) accept it too; their default stays "randomised".

Changes

  • The default svd_solver of params_sc_pca() is "auto" rather than "covariance", so on the sparse path the PCs now come from Lanczos. Both are exact, but the trailing PCs can shift slightly.
  • Clustering results shift against 0.7.0: new pruning default, new n_iterations defaults and the rewritten fast clustering.
  • get_snn_graph(), set_snn_graph() and remove_snn_graph() are now get_connectivities(), set_connectivities() and remove_connectivities(), since the graph isn’t always an sNN any more. The old names still work and warn. The cache slot, the state check artefact and graph in the ForceAtlas2 layout went from "snn" to "connectivities". load_existing() migrates objects saved with 0.7.x.
  • Default sNN pruning dropped from 1/12 to 1/16, i.e. about 2 of 16 shared cells at k = 15, in line with Seurat’s 1/15. The WNN graph uses the same default instead of 1/15.
  • full_snn (neighbours) and snn_type (WNN) are gone.
  • fast_cluster_sc() lost km_type, n_centroids, snn, grid_search and no_seeds. The first two moved into params_sc_fast_cluster(), where km_type = "kmeans" is now "standard"; n_seeds replaces the grid search.
  • kmeans_iters in params_fast_cluster_default() (Boost, scDblFinder) is now k_means_iter.
  • rs_sc_knn_graph() replaces rs_sc_snn(). rs_fast_cluster_sc() absorbs rs_fast_cluster_sc_grid().
  • The Symphony vignette is now “Clustering, cell type annotation and reference mapping” (cell_type_annotation). On top of Symphony it covers the graph choice, Leiden vs Louvain, fast clustering and per-cell scType calls.

Fixes

  • transfer_labels_symphony() no longer panics when the reference labels contain NA (e.g. scType Unknown cells). NA is treated as its own class, so query cells can come back NA.

bixverse 0.7.0

Features

Performance

  • Small cell selections (up to 10% of the store and 100k cells, i.e. most SingleCellsSubset objects) are read from the cell-major file for HVG detection and the residual fits. HVG on 6k of 985k cells: 0.82 s to 43 ms.
  • Fused sparse batch readers on the Rust side; SCENIC, Scrublet, NEBULA, CellPhoneDB, NMF, PCA, CellSweep, Bonsai and meta cells build their matrices through them.
  • Exact covariance PCA uses the cell Gram when there are fewer cells than genes, so small subsets no longer pay for a gene x gene eigendecomposition.
  • Subset filters are pushed into DuckDB, and meta cell matrices are built without copies.

Changes

  • Clustering results shift compared to 0.6.x, since the igraph Leiden/Louvain calls are gone.

Fixes

bixverse 0.6.3

Fix

  • Make the compile work on Windows arm64

bixverse 0.6.2

Features

  • Wired in faster NEBULA via edge-rs.

Fix

  • Fixed the bug that h5ad ingest silently drops string and nullable obs columns from the obs table.
  • Personalised PageRank stopped iterating too early; it now matches igraph (default tol = 1e-12, rs_page_rank* gained damping_factor and tol) (#254).

bixverse 0.6.1

Features

  • save_h5ad() exports a SingleCells object to an AnnData .h5ad file for ScanPy: raw or normalised counts in X, obs/var, and cached PCA, embeddings and sNN graph (obsm/varm/obsp). Counts are streamed in cell batches and written via scx-core.
  • as_ligand_target_influence() wraps a ligand-target matrix built elsewhere (e.g. nichenetr) as a LigandTargetInfluence, so it can be scored with ligand_activity_scores().

bixverse 0.6.0

Larger release with performance improvements across the board and new methods. The Rust backend got a sweep and parts that could be parallelised, but were not are now parallel, SIMD/GEMM integrated everywhere applicable and better memory access patterns across the board. Some of the rounding might be slightly different, hence, major release.

Features

  • CellPhoneDB wired in, see cellphonedb_sc() and get_cellphonedb_db(). The NicheNet vignette is now a general ligand-receptor vignette.
  • scran/scrapper-style HVG detection via params_sc_hvg(method = "scran").
  • svd_solver for the PCA in the doublet detection methods.
  • The solver for Harmony version 1 was updated and is substantially faster.
  • Option to archive the binary files now via archive_sc_exp(). The gene-centric view gets deleted and the cell-centric view gets massively compressed. Ideal for archiving after large analysis are done.
  • The sNN graph re-attaches small isolated islands after pruning in single cell again.
  • Changes to the ICA QC metrics. Instead of mean mutual information, it returns now 1 - max(abs(cor)) to identify the point where two ICs are strongly correlated with each other.
  • The randomised SVD paths for single cell are now using N_OVERSAMPLING from 100 to 20 and increase the iterations from 2 to 4. Across various benchmarks and synthetic data sets, the quality of the trailing PCs has improved with the new thresholds while being faster.
  • NEBULA has now a parameter that enables that a minimum of samples need to have the minimum amount of cells expressing a gene in terms of proportion and min expression.

Fixes

  • hvg_method = "mvb" in the doublet params silently fell back to VST. The choice is now "meanvarbin", plus the new "scran".

bixverse 0.5.7

Features

Fixes

  • Added reverse edges to the miloR kNN graph which yields larger neighbourhoods and better statistics. This changes results to prior versions.

bixverse 0.5.6

Features

  • Accelerate for MacOS users properly wired in.

bixverse 0.5.5

Features

Fixes

  • Full access to all of the kNN backends in manifoldsR from the single cell-related 2D embedding methods.

bixverse 0.5.4

Features

Changes

  • streaming, batch_size, max_genes_in_memory and cell_batch_size are deprecated on every function listed above. They are ignored and warn if supplied; use csc_mem_gb instead. Nothing breaks, old calls keep running.
  • Needs manifoldsR >= 0.3.5.

Fixes

  • h5ad: the number of cells and genes is read from the _index of /obs and /var rather than the first dataset in the group, and CSR vs CSC comes from the encoding-type attribute of X instead of being guessed from the indptr length.
  • tsne_sc() documentation had the use_knn default and the perplexity default wrong.

bixverse 0.5.3

Features

  • Single cell PCA got a lot faster. params_sc_pca() has a new svd_solver argument, one of "covariance" (the new default), "randomised" or "exact". The covariance solver builds the gene x gene cross-product straight from the sparse counts and eigendecomposes it. The randomised solver got about 2x faster as well.
  • calculate_pca_sc() and step_pca_sc() now default to sparse_svd = NULL, which picks the sparse path for the normalised data (faster and lighter on memory for every solver) and the dense one for residuals = TRUE.
  • PCA on matrices with missing values: run_ppca() and run_bpca() for probabilistic and Bayesian PCA, ported from pcaMethods.

Changes

  • The default PCA is now exact rather than randomised, so PCs, and everything built on them, shift slightly compared to 0.5.2. The leading PCs barely move; the trailing ones can.
  • The randomised argument of params_sc_pca() is deprecated. TRUE maps to svd_solver = "randomised", FALSE to "exact", with a warning.

Fixes

  • Cells that the sNN pruning left without a single edge now keep their strongest kNN edge. Before, Leiden turned each of them into a one-cell cluster, and on large data these added up to hundreds.
  • The sparse PCA path ignored mean_center = FALSE and normalise_variance = FALSE.

bixverse 0.5.2

Features

  • Cellsweep implementation from Caskey et al., see vignette.
  • Wired in new single cell batch correction metrics (cell-type specific LISI and ASW).
  • Also wired in from edge-rs the limma-voom workflow.
  • Sweep over the Rust/rextendr documentation
  • Wired in scTransform v2 from Choudhary and the vignette.

Fixes

  • Good old 0 to 1-index indexing issues fixed in two functions.

bixverse 0.5.1

Documentations

  • Large sweep across all documentations to add examples, remove staleness and harmonise spelling.

Fixes

  • Some minor bug fixes that became apparent during the doc sweep.

bixverse 0.5.0

Features

  • blitzGSEA wired into the R layer via calc_blitzgsea(). Permutation GSEA pays per pathway, this does not: random gene sets are drawn once across a log-spaced grid of set sizes, gamma tails are fitted to the null enrichment scores, and every pathway’s p-value is read straight off the fitted tail. One gamma evaluation per pathway, no matter how big the library. No gene set library enters the calibration, so blitzgsea_calibrate() gives you a BlitzGseaNull that serves every library scored against that signature and survives saveRDS(). params_blitzgsea() and a print() method come with it.
  • bixverse-rs 0.5.0 under the hood. kNN graphs now return true Euclidean distances, so the is_squared plumbing is gone from the binding layer.
  • NNDescent gained extract_knn: hand back the graph the descent already built instead of running a separate search over the index.
  • load_sce() reads SingleCellExperiment objects. The Seurat loader was deduplicated against it.
  • Windows builds work on the r-universe runners.

Fixes

  • plot.Hotspot() draws readable module blocks, and the scored modules are the ones the heatmap actually shows.
  • ICA whitening rank is capped rather than left to blow up on rank-deficient input.
  • The external HDF5 is gated on a cross-ABI host.

bixverse 0.4.11

Features

Single cells

  • NEBULA for mixed model differential expression, see He, et al., Commun Biol, 2021: nebula_sc() on SingleCells and nebula_mc() on MetaCells, for when you have repeated measures per subject and pseudobulk throws away too much.
  • The miloR neighbourhood test runs in Rust now via rs_make_milor_nhoods(), behind get_miloR_abundances_sc() and test_nhoods().
  • edgeR quasi-likelihood workflow via the edge-rs crate: run_edger_ql() does the fit in Rust rather than round tripping through the R package.
  • Fewer redundant copies in the meta cell sparse handoff.

Chores

  • Linux binary builds, and vignettes are kept out of the build tarball.
  • Windows builds happen outside the package directory to dodge MAX_PATH.
  • r-universe is now the easy install route.

bixverse 0.4.10

Features

bixverse 0.4.9

Chores

  • Update to the test suite to have less redundancies, be cleaner.
  • Version bumps on the Rust side.
  • Simplified testing suite with less redundancies.

Fixes

  • Added @importFrom Matrix sparseMatrix to the package import to avoid issues with meta cells and the conversions of the sparse matrices to lists for Rust.

bixverse 0.4.8

Features

Single cells

Meta cells:

  • Improved speed for meta cell methods regarding HVG detection and PCA.
  • Additional functionalities around meta cell purities: you can return entropy top label and second best label + proportions.
  • Hotspot can now also be applied on meta cells.

Single cells:

  • Regulon binarisation for SCENIC.
  • AUCell now defaults to "recovery" a more top heavy score. If you want the old behaviour, please use "wilcox".
  • One-vs-many comparisons to identify cell type markers.

Fixes

  • Various edge cases bug fixes in bixverse-rs that propagate into here.

Improved dev experience

If you want to develop on the package, set:

Sys.setenv(DEV_BUILD = "true")
devtools::document()
devtools::install()

for local testing and exploration. It will optimise less aggressively in terms of performance, but still reach very good speeds this way, while massively reducing compile times.

bixverse 0.4.7

Features

Single cells

  • Faster HVG detection across the board (batch-aware, streaming, one-pass) with faster Loess that uses interpolation now. Results compared to prior runs for "vst" might be slightly different now.
  • Implementation of two trajectory methods: PAGA and Palantir.
  • State management added for all of the single cell parts in the ScCache part. Less foot guns in the future. This works still with older objects, but good practice for the future.
  • Improvements on the meta-cells:
    • cells_to_keep are stored now avoiding some problems with state.
    • Less memory-hungry merging implemented.

bixverse 0.4.6

Features

Single cells

  • bixverse-rs version bump for better performance in SEACells and more robust streaming engine. Old files will still behave, but the desired target size is now encoded in the files.
  • The pruning operation has been set to TRUE by default in SEACells after further benchmarking.
  • Updated vignettes that had stale information (especially meta cells).

Documentation

  • Missing documentation fixes for parameters.

bixverse 0.4.5

Features

Single cells

  • Further improvements to the pipelines with meta cells enabled.
  • Merging of meta cells together.

bixverse 0.4.4

Features

General

  • NMF implemented for bulk co-expression module detection and updated vignette.
  • Synthetic data generators for bulk updated to create different data structures.

Single cells

  • Improved cell quality control functions.
  • Additional single cell batch correction methods:
    • Seurat-inspired CCA anchor-based batch correction
    • Seurat-inspired rPCA anchor-based batch correction
  • SingleCellsSubset class. This class creates a view into a subset of cells, think doing further analysis on T cells within your data set.
  • AUCell reworked. aucell_sc() now takes a params_sc_aucell() list instead of an auc_type string, and offers three statistics: "wilcox" (the Mann-Whitney AUC, still the default), "recovery" (the recovery-curve AUC of Aibar et al., with a max_rank cutoff) and "ap" (average precision). Scores can be z-scored per gene set via standardise.
  • Something is cooking for the single cell stuff. There has been a major refactor on the Rust side that will enable some very, very, very cool future features. Watch the space…

Breaking changes

  • aucell_sc(auc_type = ...) is gone, use aucell_sc(aucell_params = params_sc_aucell(auc_type = ...)). The "auroc" value has been dropped and now errors. "wilcox" results are unchanged.

bixverse 0.4.3

Fix

  • Bumped version of bixverse-rs that has a fix for the IVF-type approximate nearest neighbour seraches.

bixverse 0.4.2

Features

  • Faster fgsea multi-level implementation with less unnecessary allocations and faster computations.

Fix

  • Edge case in fgsea multi-level fixed that broke the beta-value calculations.

Breaking changes

get_centroids() was renamed to get_centroids_sc() for the usage on the fast clustering algorithms.

bixverse 0.4.1

Features

  • SingleCellsSubset class that can split from the main class and allows for analysis of e.g., a subset of cell types, etc.
  • Added singscore, see Foroutan et al., as another option to score single samples and their pathway activity.

bixverse 0.4.0

Features

Following things were added:

  • Merging of SingleCells object possible
  • Multi file reading in for .mtx files
  • Possibility to read in densely stored h5ad files.
  • 10x h5 files can be read in.
  • Multi-model single cell support set up
    • New multi-model class for single cells: SingleCellsMultiModal.
    • You can no add the ADT counts to that one (in the future maybe also ATAC- Seq).
    • The weighted nearest neighbour graph method from Hao et al., 2021
  • Improved performance on:
    • Harmony version 1 and version 2 with substantial speed improvements.
    • Hotspot with even more substantial speed improvements via doing less suboptimal things in the Rust code.
    • Large improvements to the memory management of SuperCells and SEACells. Both can run on a million cells on consumer hardware now.
  • Large number of helpers for plotting via the sister package and updated vignettes for this.
  • Reading in of 10x CellRanger h5 files (and multi-file support).
  • NMF for single cell wired up. TODO: Add also to bulk -> in one of the future releases.
  • Symphony for label transfer of cell types.
  • Grouping column for doublet detection methods.
  • NicheNet implementation for ligand receptor analysis

Bug fixes

  • Multi-file loaders (load_multi_tenx_h5(), load_multi_h5ad()) no longer write NA gene ids into the var table under gene_universe = "union" when the var reference file does not contain every gene in the universe. The gene_id is now pinned to the canonical universe id and additional data found in the vars is dropped. The user has to add them subsequently.
  • Properly dealt with the mitch bug and removed the hotfix part.

Breaking changes

The interface to the i/o functions for the single cell was changed. The streaming = TRUE parameter was simplified and gives you now more control over how to stream in data. This can (and will) break old code! If you get an error like:

Assertion on 'streaming' failed. Must be of class 'integer', not 'logical'.

Update the streaming parameter to 0L, 1L or 2L, pending on data set size and available memory. Additionally, the interface to the PCA function has changed, see here:

{r} calculate_pca_sc( object, no_pcs, pca_params = params_sc_pca(), # new parameter replacing randomised_svd sparse_svd = FALSE, hvg = NULL, seed = 42L, .verbose = TRUE )

This gives you way more control over how to run the PCA normalisation (mean centering, variance normalisation or now also the new PFLogPF normalisation).

bixverse 0.3.3

Fixes

  • Hotfix coded in that made mitch explode on larger data sets. Will be properly fixed on the bixverse-rs side in the next release, but needed now.

bixverse 0.3.2

Features

Following things were added:

  • scDblFinder as another doublet detection method
  • Following methods on top of meta-cells:
    • HVG detection
    • PCA
    • kNN generation
    • sNN generation
    • Leiden clustering
    • SCENIC for meta cells
  • Exposing (finally) other HVG methods for single cell
  • Addition of KmKnn as a nearest neighbour method
  • Fast clustering methods with k-means clustering followed by Louvain clustering.
  • Harmony v2 added.
  • Following vignettes added:
    • K-nearest neighbour searches for single cell
    • Metacells in bixverse
    • Updates to various single cell vignettes
  • Major update to the rextendr/extendr interface

Breaking changes

bixverse 0.3.1

  • Minor dependency update on the Rust side. Bumped versions to improved Rust crates.

bixverse 0.3.0

The big one… First, shift of versioning + release of full single cell analysis suite. See below for more details.

  • Full refactor of the Rust code, so it lives in its own crate
  • Single cell officially released:
    • Class with getters that leverages on-disk storage of counts and a streaming engine to enable memory-friendly analysis of millions of cells.
    • I/O helpers that can read mtx outputs, h5ad, h5ad with only normalised counts, multiple h5ad and conversion from Seurat implemented.
    • Fully functional suite of pre-processing functions: proportion of gene sets, proportion of Top N genes of overall counts, HVG detection, PCA (with sparse solving avoiding densification), multiple kNN backends for different use-cases, sNN generation and Leiden community detection.
    • Three different batch correction methods implemented: BBKNN, fastMNN and Harmony.
    • Various analysis methods for single cell implemented: AUCell, GeneModuleScoring, VISION, Hotspot, SCENIC and miloR implementations.
    • Metacell generation: hdWGCNA bootstrap approach, SuperCells and SEACells.
    • Large number of convenience functions.
  • Sister package started with plotting functions.
  • Package with very fast 2D embedding methods also ready as a sister package – check out manifoldsR.

bixverse 0.0.2.3

bixverse 0.0.2.2

bixverse 0.0.2.1

  • Constrained PageRank implementation added.
  • Improved synthetic data for correlation-based gene module detection.
  • Improved tests for ICA, CoReMo and graph-based correlation modules.
  • Various distance calculations accelerated in Rust.
  • Rust-based personalised PageRank implementations now support weighted graphs.
  • Bug fixes for the graph-based correlation methods.
  • Fixed export bugs for some plotting functions.
  • Breaking change: interface to Rust-based personalised PageRank calculations may break due to the addition of a weights parameter.

bixverse 0.0.2.0

  • Rework of the ontology class with Wang similarity added as an additional measure.
  • Rework of the genetic community detection class and diffusion methods, including permutation-based testing for diffusions.
  • Rework of the ICA code with a testing suite added for the ICA class.
  • Reciprocal best hit method based on correlations added; an additional parameter is now required specifying whether to use set similarity or correlation-based similarity.
  • Vignettes added for various methods.
  • GSVA and ssGSEA implemented in Rust.
  • Rust code reworked in various places for improved performance.
  • Mutual information calculations implemented in Rust.
  • Improvements to the synthetic data.
  • Bug fixes for the graph-based correlation methods.
  • Breaking change: ontology class functions and methods have been modified heavily and may be breaking.
  • Breaking change: community detection method has been updated; old code may not work.
  • Breaking change: ICA detection functions and methods have been updated and may break existing code.

bixverse 0.0.1.4

bixverse 0.0.1.3

  • fgsea multi level method implemented; n_more_extreme is now returned by GSEA functions.
  • RBF function implementations added for R matrices.

bixverse 0.0.1.2

  • fgsea simple implemented for gene ontology with elimination method.
  • Improved gene ontology elimination methods to reduce unnecessary copying.

bixverse 0.0.1.1

  • Semantic similarities for ontologies added.
  • Speed improvements in various Rust functions via reduced memory copying and use of lifetimes.
  • Package stability improved with tests powered by tinytest.
  • Set similarity Rust functions exposed.
  • DGE class added for Limma Voom differential gene expression calculations.
  • Wrapper functions added to load h5ad objects into R memory.
  • Traditional GSEA and fgsea simple ported into Rust.
  • Bug fix: future::plan() for iterating over resolutions in reciprocal best hit graph generation.
  • Bug fix: hypergeometric calculations and RBH graph.
  • Breaking change: community_detection() now uses params_community_detection() for parameters.

bixverse 0.0.1.0

  • Hypergeometric tests for gene set analysis for single or lists of target gene sets.
  • Gene ontology aware hypergeometric test for GO analysis.
  • Network diffusion methods based on personalised PageRank (single and tied diffusion).
  • Community detection algorithms on top of diffusion scores.
  • Reciprocal best hit graphs using set similarities between gene modules from different data sets or methods.
  • Contrastive PCA implementation for gene module detection.
  • Differential correlation-based methods for gene module detection using network-based graph community detection.
  • Independent component analysis with stabilised versions.
  • Helper functions for Hedge’s G effect size and OpenTargets score summarisation.