Bioconductor Developer Survey 2026 Now Open!

SparseArray

This is the released version of SparseArray; for the devel version, see SparseArray.

All versions 3.24 (devel), 3.23 (release), 3.22, 3.21, 3.20, 3.19, 3.18, 3.17

High-performance sparse data representation and manipulation in R


Bioconductor version: Release (3.23)

The SparseArray package provides array-like containers for efficient in-memory representation of multidimensional sparse data in R (arrays and matrices). The package defines the SparseArray virtual class and two concrete subclasses: COO_SparseArray and SVT_SparseArray. Each subclass uses its own internal representation of the nonzero multidimensional data: the "COO layout" and the "SVT layout", respectively. SVT_SparseArray objects mimic as much as possible the behavior of ordinary matrix and array objects in base R. In particular, they suppport most of the "standard matrix and array API" defined in base R and in the matrixStats package from CRAN.

Author: Hervé Pagès [aut, cre] ORCID iD ORCID: 0009-0002-8272-4522 , Vince Carey [fnd] ORCID iD ORCID: 0000-0003-4046-0063 , Rafael A. Irizarry [fnd] ORCID iD ORCID: 0000-0002-3944-4309 , Jacques Serizay [ctb] ORCID iD ORCID: 0000-0002-4295-0624

Maintainer: Hervé Pagès <hpages.on.github at gmail.com>

Citation (from within R, enter citation("SparseArray")):

Hervé Pagès. SparseArray: High-performance sparse data representation and manipulation in R. doi:10.18129/B9.bioc.SparseArray, R package version 1.12.3, https://bioconductor.org/packages/SparseArray.

Generated from the package metadata; it may differ from the package's own citation.

Installation

To install this package, start R (version "4.6") and enter:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("SparseArray")

For older versions of R, please refer to the appropriate Bioconductor release.

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("SparseArray")
SparseArray objects HTML R Script
Reference ManualPDF
NEWSText

Details

biocViews DataRepresentation, Infrastructure, Software
Version1.12.3
In Bioconductor sinceBioC 3.17 (R-4.3) (3.5 years)
License Artistic-2.0
Depends R (>= 4.3.0), methods, Matrix, BiocGenerics (>= 0.43.1), MatrixGenerics (>= 1.11.1), S4Vectors (>= 0.43.2), S4Arrays (>= 1.12.1)
Imports utils, stats, matrixStats, IRanges, XVector
System Requirements
URLhttps://bioconductor.org/packages/SparseArray
Bug Reportshttps://github.com/Bioconductor/SparseArray/issues
See More
Suggests HDF5Array, ExperimentHub, testthat, knitr, rmarkdown, BiocStyle
Linking To S4Vectors, IRanges, XVector
Enhances
Depends On Me DelayedArray, DelayedRandomArray, h5mread, HDF5Array, TileDBArray, ZarrArray
Imports Me alabaster.matrix, BatChef, batchelor, beachmat, DelayedMatrixStats, DelayedTensor, dreamlet, DropletUtils, glmGamPoi, GSVA, IDLFM, SCArray, scater, scone, scrapper, scRNAseq, scuttle, TSCAN, zellkonverter
Suggests Me BiocGenerics, MatrixGenerics, metagenomeSeq, S4Arrays, SummarizedExperiment
Links To Me
Build Report Build Report, r-universe

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package SparseArray_1.12.3.tar.gz
Windows Binary (x86_64) SparseArray_1.12.3.zip
macOS Binary (big-sur-x86_64) SparseArray_1.12.3.tgz
macOS Binary (sonoma-arm64) SparseArray_1.12.3.tgz
Source Repositorygit clone https://git.bioconductor.org/packages/SparseArray
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/SparseArray
Package Short Url https://bioconductor.org/packages/SparseArray/
Package Downloads ReportDownload Stats
Old Source Packages for BioC 3.23Source Archive