Learn R Programming

SnapATAC (version 1.0.0)

rmPmatFromSnap: Remove cell-by-peak matrix

Description

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

Usage

rmPmatFromSnap(obj)

Arguments

obj

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

Value

Return a snap object without cell-by-peak matrix

Examples

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

# }

Run the code above in your browser using DataLab