Learn R Programming

HiCblock (version 1.5)

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

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

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.