View source: R/bt.makewindows.R
bt.makewindows | R Documentation |
Makes adjacent or sliding windows across a genome or BED file.
bt.makewindows(
g = NULL,
b = NULL,
w = NULL,
s = NULL,
n = NULL,
reverse = NULL,
i = NULL,
output = NULL
)
g |
<genome> OR |
b |
<bed> |
w |
<window_size> OR |
s |
<step_size> Step size: i.e., how many base pairs to step before creating a new window. Used to create "sliding" windows. - Defaults to window size (non-sliding windows). |
n |
<number of windows> |
reverse |
Reverse numbering of windows in the output, i.e. report windows in decreasing order |
i |
src|winnum|srcwinnum The default output is 3 columns: chrom, start, end . With this option, a name column will be added. "-i src" - use the source interval's name. "-i winnum" - use the window number as the ID (e.g. 1,2,3,4...). "-i srcwinnum" - use the source interval's name with the window number. See below for usage examples. |
output |
Output filepath instead of returning output in R. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.