Skip to contents

Methods to get and set fields in an linkSet object.

Usage

# S4 method for class 'linkSet'
anchor1(x)

# S4 method for class 'linkSet'
anchor2(x)

# S4 method for class 'linkSet'
regions(x)

# S4 method for class 'linkSet'
seqinfo(x)

Arguments

x

A linkSet object

Value

For the getters, values in various slots of x are returned, while for the setters, the slots of x are modified accordingly – see Details.

A vector of the regions

Author

Gilbert Han

Examples

data(linkExample)
anchor1(linkExample)
#> [1] 1 3 5 7 9
data(linkExample)
anchor2(linkExample)
#> [1]  2  4  6  8 10
data(linkExample)
regions(linkExample)
#> Error: unable to find an inherited method for function ‘regions’ for signature ‘x = "linkSet"’