CountsInRegion: Counts in region

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Count reads per cell overlapping a given set of regions

Usage

1
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

1
2
3
4
5
CountsInRegion(
  object = atac_small,
  assay = 'bins',
  regions = blacklist_hg19
)

timoast/signac documentation built on Dec. 14, 2021, 11:34 p.m.