Count fragments by nucleosomal size
Usage
nucleosome_counts(fragments, nucleosome_width = 147)
Arguments
- fragments
Fragments object
- nucleosome_width
Integer cutoff to use as nucleosome width
Value
List with names subNucleosomal
, monoNucleosomal
, multiNucleosomal
, and nFrags
, containing the
count vectors of fragments in each class per cell.
Details
Shorter than nucleosome_width
is subNucleosomal
,
nucleosome_width
to 2*nucleosome_width-1
is monoNucleosomal
, and anything longer is multiNucleosomal
.
The sum of all fragments is given as nFrags