loopMetrics {diffloop} | R Documentation |
loopMetrics
counts number of loops for each sample and returns
whether they are single, self, unique, or none
loopMetrics(dlo) ## S4 method for signature 'loops' loopMetrics(dlo)
dlo |
A loops object |
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
A data.frame
# 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)