Skip to contents

Create a linkSet object from input data

Usage

# S4 method for class 'GRanges,GRanges,character_Or_missing'
linkSet(anchor1, anchor2, specificCol, metadata = list(), ...)

Arguments

anchor1

For the first method, a character vector of bait names. For the second method, a GRanges object containing anchor1 regions.

anchor2

A GRanges object containing anchor2 regions

specificCol

Optional character vector specifying names for the baits. Can be either a column name from anchor1's metadata or a vector of names.

metadata

Optional list of metadata to store

...

Additional columns to add to the linkSet's elementMetadata

Value

A linkSet object containing the interaction data