Skip to contents

Get or set the genomic link information for a Seurat object or ChromatinAssay5

Usage

Links(object, ...)

Links(object, ...) <- value

# S3 method for class 'ChromatinAssay5'
Links(object, ...)

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

# S3 method for class 'ChromatinAssay5'
Links(object, key = NULL, ...) <- value

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

Arguments

object

A Seurat or ChromatinAssay5 object

...

Arguments passed to other methods

value

A GenomicRanges::GRanges() object

assay

Name of assay to use

key

Key to use when adding a new InteractionSet::GInteractions object

Examples

Links(atac_small[["peaks"]])
#> list()
Links(atac_small)
#> list()
links <- Links(atac_small)
Links(atac_small[["peaks"]]) <- links
links <- Links(atac_small)
Links(atac_small) <- links