bedtoolsMap
is a wrapper for bedtools map
that "allows one to map overlapping features in a B file onto features in an A file and apply statistics and/or summary operations on those features."
1 2 3 | bedtoolsMap(bgFiles, windows, operation = "mean", outnames = NULL,
windowsize = 25, stepsize = windowsize, filler = 0, printzero = TRUE,
threads = getOption("threads", 1L))
|
windows |
A string specifying the path to the bed file within which to perform calculations on bedGraph files. |
operation |
to perform on bedGraph intervals overlapping windows. Can be one of: sum,count,count_distinct,min,max,absmin,absmax,mean,median,antimode,collapse,distinct,concat. Default is mean. See bedtools docs for more info. |
outnames |
A character vector of output file names. If NULL, output file names are automatically generated using the syntax bedGraphFileName_operation_windowFileName.bg |
windowsize |
Positive integer indicating size of windows. This is used to resize overlapping windows to comply with bedGraph format restriction against overlapping intervals. This only needs to be specified if windows are overlapping and a bedGraph-compliant file is desired. |
stepsize |
Positive integer indicating size of the steps. This is used to resize overlapping windows to comply with bedGraph format restriction against overlapping intervals. This only needs to be specified if windows are overlapping and a bedGraph-compliant file is desired. |
filler |
Value to assign intervals with no overlapping bedGraph intervals. |
printzero |
Boolean indicating of regions with a value of 0 should be printed. Default is TRUE. |
threads |
A positive integer specifying how many samples to process simultaneously. |
bgFiless |
A character vector of paths to bedGraph files. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.