rmBmatFromSnap: Remove cell-by-bin matrix

View source: R/snap-utilities.R

rmBmatFromSnapR Documentation

Remove cell-by-bin matrix

Description

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

Usage

rmBmatFromSnap(obj)

Arguments

obj

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

Value

Return a snap object without cell-by-bin matrix

Examples

data(demo.sp)
rmBmatFromSnap(demo.sp)


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