Signac (version 0.2.4)

CountsInRegion: CountsInRegion

Description

Count reads per cell overlapping a given set of regions

Usage

CountsInRegion(object, assay, regions, sep = c("-", "-"), ...)

Arguments

object

A Seurat object

assay

Name of assay in the object to use

regions

A GRanges object

sep

Separator to use when extracting genomic coordinates from the Seurat 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