Description Usage Arguments Details Value Examples
manyLoopPlots
takes a loops object and creates a time-stamped .pdf
file with loop plots (one per page) of all regions specified in the GRanges object.
1 2 3 4 5 6 7 | manyLoopPlots(x, y, organism = "h", geneinfo = "NA", colorLoops = FALSE,
cache = TRUE, maxCounts = -1, showAnchorWidths = FALSE)
## S4 method for signature 'loops,GRanges'
manyLoopPlots(x, y, organism = "h",
geneinfo = "NA", colorLoops = FALSE, cache = TRUE, maxCounts = -1,
showAnchorWidths = FALSE)
|
x |
loops object |
y |
GRanges object with many regions to be visualized |
organism |
'h' for human or 'm' for mouse supported |
geneinfo |
A data.frame manually specifying annotation (see Examples) |
colorLoops |
Differentiates loops based on loop.type in loops object |
cache |
logic variable (default = TRUE) to use gene annotation from July.2015 freeze |
maxCounts |
Number of counts associated with thickest loop. Default is largest count in region displayed |
showAnchorWidths |
Display the width of the anchor on the plot? Default = FALSE |
Each plot will show one region sequentially that is supplied in the GRanges object.
Prints a time stamped .pdf file of top loops
1 2 3 4 5 | rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
jpn.u <- removeSelfLoops(loops.small)
assoc <- loopAssoc(jpn.u, coef = 2)
#manyLoopPlots(assoc, regs) #define regs as multiple GRanges
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.