The RegionAggregation class enables storage of counts centered on a group of genomic regions, aggregated across regions for each cell. The main data object stored is a cell-by-position matrix.
Usage
# S3 method for class 'RegionAggregation'
subset(x, cells = NULL, ...)Slots
matrixA cell-by-position matrix
regionsA
GenomicRanges::granges()object containing the regions aggregated across.upstreamInteger denoting number of bases upstream of the centered position that are stored in the matrix
downstreamInteger denoting number of bases downstream of the centered position that are stored in the matrix
nameA name for the set of regions aggregated
expectedA vector containing expected number of Tn5 insertions per position
cellsA vector of cell barcodes present in the region aggregation matrix. Each entry in the cells vector corresponds to a row in the region aggregation matrix.