Learn R Programming

SnapATAC (version 1.0.0)

rmBmatFromSnap: 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

Run this code
# NOT RUN {
data(demo.sp)
rmBmatFromSnap(demo.sp)

# }

Run the code above in your browser using DataLab