testDistancePowerLawDistrib: Check log-log linear relation between distance and Hi-C...

Description Usage Arguments Value Author(s)

View source: R/HiCblockMiscFun.R

Description

Function to check the log-log linear relation between distance and Hi-C count. At a particular distance range, the log-log function should be linear. The generalized linear regression with interactions (GLMI) can be used only if this log-log linear relation holds. One could consider the log-log linear relation holds if R2>0.95.

Usage

1
testDistancePowerLawDistrib(HTCL, distInter)

Arguments

HTCL

A HTClist object (HiTC R package). This is an object to store the Hi-C data.

distInter

Optional. A vector of two numerical values to set a distance range for Hi-C analysis.

Value

A list containing the log-log regression information.

Author(s)

Raphael Mourad


HiCblock documentation built on Aug. 20, 2019, 5:25 p.m.