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

Description Usage Arguments Value Examples

View source: R/remove_centromere.R

Description

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

Usage

1

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

1
2
3
4
m <- matrix(rpois(100, 5), 10, 10)
m[5,] <- 0
m[,5] <- 0
remove_centromere(m)

dozmorovlab/HiCdiff documentation built on May 20, 2019, 11:13 a.m.