Skip to contents

Replace the other end (oe) anchors of a linkSet object with new values

Usage

oe(x) <- value

Arguments

x

A linkSet object

value

A GRanges object containing the new other end anchors

Value

The modified linkSet object

Details

Set Other End Anchors for linkSet Object

Examples

# Create example data
gr1 <- GRanges("chr1", IRanges(1:3, width=1))
gr2 <- GRanges("chr1", IRanges(4:6, width=1))
ls <- linkSet(gr1, gr2)

# Create new other end anchors
new_oe <- GRanges("chr1", IRanges(7:9, width=1))

# Replace other end anchors
oe(ls) <- new_oe