
Fragment length distribution
fragment_length_plot_sc.RdSignac'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.
Arguments
- x
data.table. The
lengthselement ofbixverse::fragment_profiles_sc(), withgroup,lengthandfraction.- log_scale
Boolean. Use a log10 y-axis.
- palette
String. Discrete palette for the groups, see
bx_colors().
Value
A ggplot object.