remove_centromere {HiCcompare} | R Documentation

## Function to remove centromere columns and rows from a full Hi-C contact matrix

### Description

Function to remove centromere columns and rows from a full Hi-C contact matrix

### Usage

    remove_centromere(mat)

### Arguments

`mat` | A full Hi-C matrix

### Value

A list of (1) the column/row numbers of the centromere and (2) the Hi-c matrix with the centromere removed

### Examples

    m <- matrix(rpois(100, 5), 10, 10)
    m[5,] <- 0
    m[,5] <- 0
    remove_centromere(m)

[Package HiCcompare version 1.9.0 Index]