loopMetrics: Types of loops

Description Usage Arguments Details Value Examples

Description

loopMetrics counts number of loops for each sample and returns whether they are single, self, unique, or none

Usage

1
2
3
4
loopMetrics(dlo)

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

Arguments

dlo

A loops object

Details

This function shows the number of loops for each sample based on four types. Single refers to having only one anchor for a the loop whereas none has no unique anchors. If using the loopsMake pipeline, only self and unique loops will be observed when running this function

Value

A data.frame

Examples

1
2
3
4
# Return loop metrics for number of each type for each sample 
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
loopMetrics(loops.small)

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