subsample_matrix: Subsample a HiC contact matrix

Description Usage Arguments Value Examples

View source: R/subsample_matrix.R

Description

This function takes a HiC contact matrix and returns a subsample of it. The input matrix should be triangular.

Usage

1
subsample_matrix(mat, p = 0.5)

Arguments

mat

HiC contact map matrix

p

Numeric probability of being sub-sampled

Value

A sub-sampled HiC contact matrix

Examples

1
plot(0)

qenvio/dryhic documentation built on May 26, 2019, 11:35 a.m.