Description Usage Arguments Value Examples
View source: R/remove_centromere.R
Function to remove centromere columns and rows from a full Hi-C contact matrix
1 | remove_centromere(mat)
|
mat |
A full Hi-C matrix |
A list of (1) the column/row numbers of the centromere and (2) the Hi-c matrix with the centromere removed
1 2 3 4 | m <- matrix(rpois(100, 5), 10, 10)
m[5,] <- 0
m[,5] <- 0
remove_centromere(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.