Learn R Programming

Signac (version 1.10.0)

FRiP: Calculate fraction of reads in peaks per cell

Description

Calculate fraction of reads in peaks per cell

Usage

FRiP(object, assay, total.fragments, col.name = "FRiP", verbose = TRUE)

Value

Returns a Seurat object

Arguments

object

A Seurat object

assay

Name of the assay containing a peak x cell matrix

total.fragments

Name of a metadata column containing the total number of sequenced fragments for each cell. This can be computed using the CountFragments function.

col.name

Name of column in metadata to store the FRiP information.

verbose

Display messages

Examples

Run this code
FRiP(object = atac_small, assay = 'peaks', total.fragments = "fragments")

Run the code above in your browser using DataLab