deconvatac.pp.reads_to_fragments#
Functions#
|
Convert scATAC-seq read counts to appoximate fragment counts. |
Module Contents#
- deconvatac.pp.reads_to_fragments.reads_to_fragments(adata: anndata.AnnData, read_layer: str | None = None, fragment_layer: str = 'fragments') None#
Convert scATAC-seq read counts to appoximate fragment counts.
Parameters#
- adata
AnnData object that contains read counts.
- read_layer
Key in`.layer` that the read counts are stored in.
- fragment_layer
Key in`.layer` that the fragment counts will be stored in.
Returns#
Adds layer with fragment counts in
.layers[fragment_layer].