Learn R Programming

diffloop (version 1.0.2)

summary,loops-method: Link the anchors and interactions back together

Description

summary takes a loops object and breaks the loop data structure resulting in a data.frame.

Usage

## S3 method for class 'loops':
summary(object)

Arguments

object
A loops object to be summarized

Value

  • A data.frame

Details

This function returns a data.frame where the left and right anchors are visualized together along with the loop width, individual counts, and any anchor meta-data that has been annotated into the anchors GRanges object as well as any rowData varianble

Examples

Run this code
# Summarizing the first ten loops in \\code{loops.small}
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
summarydf <- summary(loops.small[1:10,])
# Summarizing the loops and significance results between naive and primed
summarylt <- summary(quickAssoc(loops.small[,1:4])[1:10,])

Run the code above in your browser using DataLab