Description Usage Arguments Details Value Examples
loopsMake.mango
reads in a data directory created by the
mango
preprocessing pipeline and returns a loops object
1 2 3 4 5 | loopsMake.mango(beddir, samples = NA, mergegap = 500, ext = "all")
## S4 method for signature 'ANY'
loopsMake.mango(beddir, samples = NA, mergegap = 500,
ext = "all")
|
beddir |
A string. The preprocessed data directory; Required |
samples |
A character vector. Optional list of samples to read in |
mergegap |
An integer value of the radius to merge anchors; default 500 |
ext |
Specificies 'all' or 'fdr' file format; default 'all' |
This function reads in preprocessed ChIA-PET data produced by the
mango
preprocessing pipeline. The samples
argument specifies
which samples are read. If samples
is not specified all samples will
be read. The ext
specifies which type of file to look for, either
all
or fdr
, with all
being the default. Under the
default, all samples with the extension .fdr.mango
will be processed.
Finally, the FDR
parameter (default = 1) specifies the minimum threshold
for loops to be added to the greater loops
object. Currently, we do not
support importing the verbose output, so the verbose parameter when executing
mango should be set to FALSE or the user will have ot parse the file before
reading into diffloop using awk
, cut
, or something similar.
A loops object where 'chr' is removed from the anchors.
1 2 | # UPDATE THIS
bd<- system.file('extdata', 'esc_jurkat', package='diffloopdata')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.