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)

aryeelab/diffloop documentation built on May 12, 2019, 3:42 a.m.