Description Usage Arguments Value Examples
View source: R/LoopsToRanges.R
Uses tab delimited looping data in the form of BEDPE files to create custom GRanges loop objects
1 2 | LoopsToRanges(..., loop_names = NULL, custom_cols = 0,
custom_mcols = NULL)
|
... |
Any number of tab delimited loop data files in BEDPE format |
loop_names |
A character vector of names for the loop datasets (optional) |
custom_cols |
An integer indicating the number of extra columns in the BEDPE file (default = 0) |
custom_mcols |
An integer or vector of integers indicating which columns are used for metadata (optional) |
A LoopRanges class object: list of GRanges looping data objects
1 2 3 4 5 6 | # Load loops into LoopRanges object
ovary_loops <- system.file("extdata/loops", "ovary_hg19.bedpe",
package = "LoopRig", mustWork = TRUE)
spleen_loops <- system.file("extdata/loops", "spleen_hg19.bedpe",
package = "LoopRig", mustWork = TRUE)
LoopsToRanges(ovary_loops, spleen_loops, custom_cols = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.