Description Usage Arguments Value
View source: R/tss_predictor.R
Generates a set of windows for each element in a
GRanges-class
object. Uses the center of each
region as the 0th co-ordinate in generating windows.
1 | window_regions(sites, bins = 21L, bin_width = 51L)
|
sites |
a GRanges-class containing the sites of interest. The central site of this range will be the focal site used to generate bins |
bins |
a single value or vector of length equal to bin_width indicating the number of bins to generate, with the central bin centered on the focal site, must be odd |
bin_width |
a vector of one or more odd valued integers indicating the width of the bins to be generated. If multiple value are specified, windows are generated for all sizes specified |
A list of vectors with each one corresponding to one set of bins and each element of a vector corresponding to a bin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.