simATACEstNonZeroPro: Estimate bins' non-zero cell proportion

Description Usage Arguments Details Value

View source: R/simATACEstimate.R

Description

Extract the non-zero cell proportion of each bin among all single cells from the input count matrix.

Usage

1
simATACEstNonZeroPro(count, object)

Arguments

count

A sparse count matrix to estimate parameters from.

object

simATACCount object to store estimated parameters.

Details

Vector of non-zero cell proportions of bins is calculated by dividing the number of non-zero entries over the number of all cells for each bin.

Value

simATACCount object with updated non-zero cell proportion parameter.


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