Description Usage Arguments Details Value Examples
bedToGRanges
takes a string corresponding to a file
and creates a GRanges object, retaining meta-data
1 2 3 4 | bedToGRanges(file)
## S4 method for signature 'character'
bedToGRanges(file)
|
file |
A string specifiying .bed file location |
Useful function to read in a .bed file to create a GRanges object
where the meta-data is presevered. Useful for later functions like
annotateAnchors
A GRanges object
1 2 3 | #Read in CTCF Jurkat peaks in
ctcf_j <- system.file('extdata','Jurkat_CTCF_chr1.narrowPeak',package = 'diffloop')
ctcf <- bedToGRanges(ctcf_j)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.