rmGmatFromSnap: Remove cell-by-gene matrix

View source: R/snap-utilities.R

rmGmatFromSnapR Documentation

Remove cell-by-gene matrix

Description

This function takes a snap object as input and removes the cell-by-gene matrix in the existing snap object. Report error when cell-by-gene matrix is empty.

Usage

rmGmatFromSnap(obj)

Arguments

obj

A snap object to remove cell-by-gene matrix.

Value

Return a snap object without cell-by-peak matrix

Examples

data(demo.sp)
rmPmatFromSnap(demo.sp)


r3fang/SnapATAC documentation built on March 29, 2022, 4:33 p.m.