Plotting scalograms

plotScalogram(x, ylim = c(500, 1e+05))

Arguments

x

GRanges, the output of scalogram()

ylim

Range of distances to use for y-axis in scalograms

Value

ggplot

Examples

contacts_yeast <- HiCExperiment::contacts_yeast()
#> see ?HiContactsData and browseVignettes('HiContactsData') for documentation
#> loading from cache
pairsFile(contacts_yeast) <- HiContactsData::HiContactsData(
  'yeast_wt', format = 'pairs.gz'
)
#> see ?HiContactsData and browseVignettes('HiContactsData') for documentation
#> loading from cache
scalo <- scalogram(contacts_yeast['II'])
#> Importing pairs file /github/home/.cache/R/ExperimentHub/1bea16b12b37_7753 in memory. This may take a while...
plotScalogram(scalo)