Join us for
RADAR: AI Edition

Seurat (version 1.4.0.16)

MakeSparse: Make object sparse

Description

Converts stored data matrices to sparse matrices to save space. Converts object@raw.data and object@data to sparse matrices. If the snn has been stored as a dense matrix, this will convert it to a sparse matrix, store it in object@snn.sparse and remove object@snn.dense.

Usage

MakeSparse(object)

Arguments

object

Seurat object

Value

Returns a seurat object with data converted to sparse matrices.