rmPmatFromSnap: Remove cell-by-peak matrix

View source: R/snap-utilities.R

rmPmatFromSnapR Documentation

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

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


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