Skip to contents

Convert other data formats to linkSet. Currently supported: GInteractions, data.frame.

Usage

Convert(x, ...)

# S4 method for class 'GInteractions'
Convert(x, baitCol = NULL, ...)

# S4 method for class 'data.frame'
Convert(x, baitCol = "gene", oeCol = "peak", ...)

# S4 method for class 'Pairs'
Convert(x, baitCol = NULL, ...)

# S4 method for class 'ANY'
Convert(x, ...)

Arguments

x

An object of unsupported class

...

Additional arguments (not used)

baitCol

A character string specifying the column to use for bait naming

specificCol

A character string specifying the column to use for bait naming

Value

A linkSet object

A linkSet object

A linkSet object

A linkSet object

Nothing, throws an error