Learn R Programming

SnapATAC (version 1.0.0)

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

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

# }

Run the code above in your browser using DataLab