numAnchors {diffloop} | R Documentation |
numAnchors
takes a loops
object and a summarizes the
number of anchors that support all the interactions (count >= 1) in the object
numAnchors(x) ## S4 method for signature 'loops' numAnchors(x)
x |
A loops object to be summarized |
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
A data.frame of each sample and the number of anchors
# Show number of anchors each sample is supported by rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/') load(rda) numAnchors(loops.small)