powered by
Calculate fraction of reads in peaks per cell
FRiP(object, assay, total.fragments, col.name = "FRiP", verbose = TRUE)
Returns a Seurat object
Seurat
A Seurat object
Name of the assay containing a peak x cell matrix
Name of a metadata column containing the total number of sequenced fragments for each cell. This can be computed using the CountFragments function.
CountFragments
Name of column in metadata to store the FRiP information.
Display messages
FRiP(object = atac_small, assay = 'peaks', total.fragments = "fragments")
Run the code above in your browser using DataLab