| removeSelfLoops {diffloop} | R Documentation |
removeSelfLoops removes instances where a loop is observed
between the same anchor
removeSelfLoops(dlo) ## S4 method for signature 'loops' removeSelfLoops(dlo)
dlo |
A loops object |
This function removes loops from the interactions slot that reference
the same index of the anchors slot.
A loops object
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
jpn_unique <- removeSelfLoops(loops.small)