simATACgetPeakByCell: 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 peak by cell matrix by extracting bins having the highest means.

Usage

1
simATACgetPeakByCell(sim, peak.num = 5000)

Arguments

sim

SingleCellExperiment object containing simulation parameters.

peak.num

Number of peak bins to extract from the input bin by cell matrix.

Value

Sparse matrix containing peak.num bins with the highest bin means.


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