Skip to contents

Signac's FragmentHistogram(), one line per group. A good library shows the nucleosome-free peak under 147 bp and the mono- and di-nucleosome peaks near 200 and 400 bp.

Usage

fragment_length_plot_sc(x, log_scale = FALSE, palette = "main")

Arguments

x

data.table. The lengths element of bixverse::fragment_profiles_sc(), with group, length and fraction.

log_scale

Boolean. Use a log10 y-axis.

palette

String. Discrete palette for the groups, see bx_colors().

Value

A ggplot object.