Find the fraction of counts per cell that overlap a given set of genomic ranges
FractionCountsInRegion(object, assay, regions, sep = c("-", "-"), ...)
A Seurat object
Name of assay to use
A GRanges object containing a set of genomic regions
The separator used to separate genomic coordinate information in the assay feature names
Additional arguments passed to CountsInRegion
CountsInRegion
Returns a numeric vector
# NOT RUN { FractionCountsInRegion( object = atac_small, assay = 'bins', regions = blacklist_hg19 ) # }
Run the code above in your browser using DataCamp Workspace