Skip to contents

Filter links for further analysis

Usage

# S4 method for class 'linkSet'
filterLinks(x, filter_intra = TRUE, filter_unannotate = TRUE, distance = NULL)

Arguments

filter_intra

Whether to filter intra-chromosomal interactions

filter_unannotate

Whether to filter unannotated interactions

distance

The maximum distance between bait and other end

Value

A linkSet object with filtered 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"’