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

Links(object, ...)

Links(object, ...) <- value

# S3 method for ChromatinAssay
Links(object, ...)

# S3 method for Seurat
Links(object, ...)

# S3 method for ChromatinAssay
Links(object, ...) <- value

# S3 method for Seurat
Links(object, ...) <- value

Arguments

object

A Seurat object

...

Arguments passed to other methods

value

A GRanges object

Examples

Links(atac_small[["peaks"]])
#> GRanges object with 0 ranges and 0 metadata columns:
#>    seqnames    ranges strand
#>       <Rle> <IRanges>  <Rle>
#>   -------
#>   seqinfo: no sequences
Links(atac_small)
#> GRanges object with 0 ranges and 0 metadata columns:
#>    seqnames    ranges strand
#>       <Rle> <IRanges>  <Rle>
#>   -------
#>   seqinfo: no sequences
links <- Links(atac_small)
Links(atac_small[["peaks"]]) <- links
links <- Links(atac_small)
Links(atac_small) <- links