SparseArray

This is the development version of SparseArray; for the stable release version, see SparseArray.

High-performance sparse data representation and manipulation in R


Bioconductor version: Development (3.21)

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: ), Vince Carey [fnd] (ORCID: ), Rafael A. Irizarry [fnd] (ORCID: ), Jacques Serizay [ctb] (ORCID: )

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

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

Installation

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


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

# The following initializes usage of Bioc devel
BiocManager::install(version='devel')

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 Manual PDF
NEWS Text

Details

biocViews DataRepresentation, Infrastructure, Software
Version 1.7.0
In Bioconductor since BioC 3.17 (R-4.3) (1.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.5.11)
Imports utils, stats, matrixStats, IRanges, XVector
System Requirements
URL https://bioconductor.org/packages/SparseArray
Bug Reports https://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, HDF5Array, TileDBArray
Imports Me DelayedMatrixStats, DelayedTensor, DropletUtils, SCArray, TSCAN, alabaster.matrix, batchelor, beachmat, glmGamPoi, scater, scuttle, scRNAseq
Suggests Me BiocGenerics, MatrixGenerics, S4Arrays, SummarizedExperiment
Links To Me
Build Report Build Report

Package Archives

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

Source Package SparseArray_1.7.0.tar.gz
Windows Binary (x86_64)
macOS Binary (x86_64)
macOS Binary (arm64)
Source Repository git clone https://git.bioconductor.org/packages/SparseArray
Source Repository (Developer Access) git clone git@git.bioconductor.org:packages/SparseArray
Bioc Package Browser https://code.bioconductor.org/browse/SparseArray/
Package Short Url https://bioconductor.org/packages/SparseArray/
Package Downloads Report Download Stats