Calculate fraction of reads in peaks per cell
FRiP(object, peak.assay, bin.assay, chromosome = "chr1", verbose = TRUE)
A Seurat object
Name of the assay containing a peak x cell matrix
Name of the assay containing a bin x cell matrix
Which chromosome to use. Default is chromosome 1 ('chr1'). If NULL, use the whole genome.
Display messages
Returns a Seurat object
Seurat
# NOT RUN { FRiP(object = atac_small, peak.assay = 'peaks', bin.assay = 'bins') # }
Run the code above in your browser using DataLab