Learn R Programming

SnapATAC (version 1.0.0)

snapToSeurat: Convert a snap object to a seurat object

Description

Convert a snap object to a seurat object

Usage

snapToSeurat(obj, eigs.dims = 1:20, norm = TRUE, scale = TRUE)

Arguments

obj

A snap object.

eigs.dims

A vector of the dimensions to use.

norm

A logical variable indicates whether to normalize the cell by gene matrix.

scale

A logical variable indicagtes whether to scale the cell by gene matrix.

Value

Return a seurat object that contains single cell ATAC-seq data