ConsensusTADs: Consensus boundary identification

Description Usage Arguments Details Value Examples

View source: R/ConsensusTADs.R

Description

Consensus boundary identification

Usage

1
2
ConsensusTADs(cont_mats, resolution, z_thresh = 3, window_size = 15,
  gap_thresh = 0.2)

Arguments

cont_mats

List of contact matrices in either sparse 3 column, n x n or n x (n+3) form where the first three columns are coordinates in BED format. See "Input_Data" vignette for more information. If an x n matrix is used, the column names must correspond to the start point of the corresponding bin. Required.

resolution

Resolution of the data. Used to assign TAD boundaries to genomic regions. If not provided, resolution will be estimated from column names of the first matrix. Default is "auto"

z_thresh

Threshold for boundary score. Higher values result in a higher threshold for differential TADs. Default is 3.

window_size

Size of sliding window for TAD detection, measured in bins. Results should be consistent Default is 15.

gap_thresh

Required % of non-zero entries before a region will be considered non-informative and excluded. Default is .2

Details

Given a list of sparse 3 column, n x n , or n x (n+3) contact matrices, ConsensusTADs provides the set of consensus TAD boundaries across them. Consensus TADs are defined by the consensus boundary score, a score measuring TAD boundary likelihood across all matrices.

Value

A list containing consensus TAD boundaries and overall scores

Examples

1
2
3
4
# Read in data
data("time_mats")
# Find consensus TAD boundaries
diff_list <- ConsensusTADs(time_mats, resolution = 50000)

TADCompare documentation built on Nov. 8, 2020, 6:48 p.m.