remove_centromere: Function to remove centromere columns and rows from a full...

View source: R/remove_centromere.R

remove_centromereR 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)

dozmorovlab/HiCcompare documentation built on June 30, 2023, 3:09 a.m.