Signac (version 0.2.4)

FRiP: Calculate fraction of reads in peaks per cell

Description

Calculate fraction of reads in peaks per cell

Usage

FRiP(object, peak.assay, bin.assay, chromosome = "chr1", verbose = TRUE)

Arguments

object

A Seurat object

peak.assay

Name of the assay containing a peak x cell matrix

bin.assay

Name of the assay containing a bin x cell matrix

chromosome

Which chromosome to use. Default is chromosome 1 ('chr1'). If NULL, use the whole genome.

verbose

Display messages

Value

Returns a Seurat object

Examples

Run this code
# NOT RUN {
FRiP(object = atac_small, peak.assay = 'peaks', bin.assay = 'bins')
# }

Run the code above in your browser using DataLab