plot_hierarchy: Plot hierarchical_plot

View source: R/TADpole.R

plot_hierarchyR Documentation

Plot hierarchical_plot

Description

Plot hierarchical_plot

Usage

plot_hierarchy(
  mat_file,
  tadpole,
  chr,
  start,
  end,
  resol,
  centromere_search = FALSE
)

Arguments

mat_file

path to the input file. Must be in a tab-delimited matrix format.

chr

string with the chromosome name.

start

numeric start position of the region or of the chromosome.

end

numeric end position of the region or of the chromosome.

resol

numeric resolution/binning of the Hi-C experiment.

centromere_search

split the matrix by the centrormere into two, smaller matrices representing the chromosomal arms. Useful when working with big (>15000 bins) datasets.

TADpole

'TADpole' object returned as by function 'TADpole'.

Examples

mat_file <- system.file("extdata", "raw_chr18:460-606_20kb.tsv", package = "TADpole")
tadpole <- TADpole(mat_file, chr = "chr18", start = 496, end = 606, resol = 20000)
plot_hierarchy(mat_file, tadpole, chr = "chr18", start = 496, end = 606, resol = 20000)

paulasoler/HTADs documentation built on July 17, 2022, 8:59 a.m.