numAnchors takes a loops object and a summarizes the
number of anchors that support all the interactions (count >= 1) in the object
Usage
numAnchors(x)
## S3 method for class 'loops':
numAnchors(x)
Arguments
x
A loops object to be summarized
Value
A data.frame of each sample and the number of anchors
Details
This function returns a data.frame where the column names specify the
sample in the original loops object and the only row shows
the number of anchors used to support that sample
# Show number of anchors each sample is supported byrda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
numAnchors(loops.small)