Learn R Programming

Signac (version 1.6.0)

CountsInRegion: Counts in region

Description

Count reads per cell overlapping a given set of regions

Usage

CountsInRegion(object, assay, regions, ...)

Arguments

object

A Seurat object

assay

Name of a chromatin assay in the object to use

regions

A GRanges object

...

Additional arguments passed to findOverlaps

Value

Returns a numeric vector

Examples

Run this code
# NOT RUN {
CountsInRegion(
  object = atac_small,
  assay = 'bins',
  regions = blacklist_hg19
)
# }

Run the code above in your browser using DataLab