Skip to contents

Order linkSet by mcols

Usage

# S4 method for class 'linkSet'
orderLinks(x, by = "count", decreasing = TRUE)

Arguments

by

The column name to order by

decreasing

Whether to sort in decreasing order

Value

A linkSet object with ordered interactions

Examples

ls = data(linkExample)
ls = c(ls,ls)
ls = countInteractions(ls)
#> Error: unable to find an inherited method for function ‘countInteractions’ for signature ‘x = "character"’
ls = filterLinks(ls, filter_intra = FALSE, filter_unannotate = FALSE, distance = 100000)
#> Error: unable to find an inherited method for function ‘filterLinks’ for signature ‘x = "character"’
ls = orderLinks(ls, by = "count", decreasing = TRUE)
#> Error: unable to find an inherited method for function ‘orderLinks’ for signature ‘x = "character"’