Skip to contents

Get the region aggregation information from a ChromatinAssay5 object

Usage

RegionAggr(object, ...)

RegionAggr(object, ...) <- value

# S3 method for class 'ChromatinAssay5'
RegionAggr(object, features = NULL, ...)

# S3 method for class 'Seurat'
RegionAggr(object, assay = NULL, ...)

# S3 method for class 'ChromatinAssay5'
RegionAggr(object, ...) <- value

# S3 method for class 'Seurat'
RegionAggr(object, assay = NULL, ...) <- value

Arguments

object

A Seurat or ChromatinAssay5 object

...

Arguments passed to other methods

value

A RegionAggregation object or list of RegionAggregation objects

features

Optional character vector of region aggregation names to return

assay

Name of assay to use

Value

Returns a list of RegionAggregation objects

Examples

RegionAggr(atac_small[["peaks"]])
#> list()
RegionAggr(atac_small)
#> list()
ra <- RegionAggr(atac_small)
RegionAggr(atac_small[["peaks"]]) <- ra
ra <- RegionAggr(atac_small)
RegionAggr(atac_small) <- ra