groupZeros {bnbc} | R Documentation

## Group Zero Operations

### Description

These functions find and remove rows in the set of contact matrices for which all elements in the row are 0 in all samples.

### Usage

    getGroupZeros(cg)
    dropGroupZeros(cg, g0s)

### Arguments

`cg` | A ContactGroup object.
`g0s` | A list of elements identified as group zeros.

### Details

Group zeros are those rows for which all elements of the row in all samples are 0. These can impact estimation of features such as A/B compartment status and so should be removed for many analyses.

### Value

A ContactGroup object with the group zeros removed from all rows in all contact matrices.

### See Also

ContactGroup

### Examples

    data(cgEx)
    g0s <- getGroupZeros(cgEx)
    cgEx <- dropGroupZeros(cgEx, g0s)

[Package bnbc version 1.6.0 Index]