plot_n_zones: Plots the number of dense zones for each threshold value.

Description Usage Arguments Value Examples

View source: R/plot_n_zones.R

Description

For each accumulation threshold value considered, this function shows the number of dense zones found (e.g., with the dense_zones function). It also plots in red color the point of the graph with maximum slope change (maximum second derivative).

Usage

1
plot_n_zones(zones, chr = NULL)

Arguments

zones

a list of eight elements, as the output of the dense_zones function.

chr

optional argument, needed if the input was found with chr = "all"; a string or a vector containing strings with the name of the chromosome(s) (e.g., "chr1" or c("chr1", "chr4")) to be considered

Value

None, the function is invoked for its side effect.

Examples

1
2
3
4
5
# loading data
data("data_man")
# TF_dense_w_0 is in the data_man collection of datasets
# plot number of zones
plot_n_zones(TF_dense_w_0)

TFHAZ documentation built on April 29, 2020, 5:24 a.m.