removeSelfLoops: Remove self loops

Description Usage Arguments Details Value Examples

Description

removeSelfLoops removes instances where a loop is observed between the same anchor

Usage

1
2
3
4
removeSelfLoops(dlo)

## S4 method for signature 'loops'
removeSelfLoops(dlo)

Arguments

dlo

A loops object

Details

This function removes loops from the interactions slot that reference the same index of the anchors slot.

Value

A loops object

Examples

1
2
3
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
jpn_unique <- removeSelfLoops(loops.small)

diffloop documentation built on Nov. 8, 2020, 5:48 p.m.