The main function to compute the generalized linear model.
HiCblockModel(hrpd, model, facBlock, regressionMode = "NB", scale = F, includeBias = T,
sampleSize = NULL, distInter = NULL)
Preprocessed data. It includes Hi-C interaction pairs that have been annotated with genomic feature information. To compute this object, you should use the function HiCglmiProcData.
A formula object (stats R package). See Section HiCglmi-package, for examples. If regressionMode="PoissonLasso", then the variable model should be set to NULL (i.e. model=NULL).
A vector of character describing the genomic features. For instance, facModel="BEAF32".
If regressionMode="Poisson", a Poisson regression. If regressionMode="QP", a quasi Poisson regression. If regressionMode="NB", a negative binomial regression. If regressionMode="PoissonLasso", a Poisson lasso regression.
If scale=TRUE, blocking variables are standardized.
If includeBias=True, then GC, mappability and fragment length biases are included in the regression (default mode). If includeBias=False, biases are not included in the regression. You can used this option if you are using Hi-C matrix that had been previously corrected for biases (not recommended).
Optional. A numerical value for subsampling Hi-C data.
Optional. A vector of two numerical values to set a distance range for Hi-C analysis.
If regressionMode is "Poisson", "QP" or "NB", then a summary(glm) object is returned.
Submitted.