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
A Seurat object
Arguments passed to other methods
A GRanges
object
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