correctfac: Calculate correction factor matrix from bulk data.

Description Usage Arguments Value Examples

View source: R/correctfac.R

Description

This function calculates the correction factor that borrows information from bulk data. If bulk data is available, it can be used to modify the prior setting in Bayesian hierarchical model.

Usage

1
correctfac(type_bulk, nei)

Arguments

nei

neighborhood size

matrix

bulk matrix

Value

a matrix of bulk data correction factor

Examples

1
correctfac(m, nei=2) #calculate bulk data correction factor, m is the bulk matrix

Queen0044/scHiCBayes documentation built on Dec. 18, 2021, 8:43 a.m.