simATACgetFeatureByCell: Convert raw bin by cell matrix in an SingleCellExperiment...

Description Usage Arguments Value

View source: R/ExtraFunctions.R

Description

Convert raw bin by cell matrix in an SingleCellExperiment object into the region by cell matrix, with regions defined in the input BED file.

Usage

1
simATACgetFeatureByCell(sim, file.bed)

Arguments

sim

SingleCellExperiment object containing simulation parameters.

file.bed

BED file containing chromosome, start, and end positions of regions.

Value

Sparse matrix containing bins having intersection with the regions in the BED file.


bowang-lab/simATAC documentation built on Jan. 28, 2021, 1:22 a.m.