CountsInRegion: Counts in region

View source: R/utilities.R

CountsInRegionR Documentation

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


CountsInRegion(
  object = atac_small,
  assay = 'bins',
  regions = blacklist_hg19
)


Signac documentation built on Sept. 11, 2024, 9:30 p.m.