Description Usage Arguments Value Examples
Subset loops based on loop and anchor size filters. Can be used to filter the loops in the LoopRanges object before or after calling ConsensusLoops
1 |
loop_ranges |
A LoopRanges class object |
type |
A string indicating the type of filtering when determining which loops to drop:
|
size |
A numerical vector indicating size range to keep (e.g. c(start, end)) |
A subsetted LoopRanges class object
1 2 3 4 5 6 7 8 9 10 | # Load loops into LoopRanges object
ovary_loops <- system.file("extdata/loops", "ovary_hg19.bedpe",
package = "LoopRig", mustWork = TRUE)
loops_ovary <- LoopsToRanges(ovary_loops, custom_cols = 0)
# Subset loops based on total length between 100 to 100000 bp
DropLoops(loops_ovary, type = "loop_size", size = c(100, 100000))
# Subset loops based on anchor size between 1000 to 25000 bp
DropLoops(loops_ovary, type = "anchor_size", size = c(1000, 25000))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.