simATACEstBinMean: Estimate bin coverage mean

Description Usage Arguments Details Value

View source: R/simATACEstimate.R

Description

Estimate the coefficients of second degree polynomial function between bins' non-zero cell proportions and means.

Usage

1
simATACEstBinMean(count, object)

Arguments

count

A sparse count matrix to estimate parameters from.

object

simATACCount object to store estimated parameters.

Details

Parameters for the second degree polynomial function between bin means and bin non-zero cell proportion are estimated by using lm and poly. simATAC excludes bins having non-zero cell proportion more than 0.8 in modelling the polynomial function.

Value

simATACCount object with updated polynomial function parameters.


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