MakeSparse: Make object sparse

Description Usage Arguments Value

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

1
MakeSparse(object)

Arguments

object

Seurat object

Value

Returns a seurat object with data converted to sparse matrices.


nukappa/seurat_v2 documentation built on May 24, 2019, 9:57 a.m.