Description Usage Arguments Value
View source: R/io_and_formats.R
This function converts genomic positions to integer window positions based on the 5' end of each GenomicRanges region.
1 2 | fragments_to_windows(fragment_list, window_size = 10000,
collapse = TRUE)
|
fragment_list |
The list object containing GenomicRanges objects |
window_size |
The size of the genomic windows to use. Default is 1e4. |
collapse |
Logical to determine if fragments found in the same window should be merged after conversion. Default is TRUE. |
A nested list object. Each sample in the fragment list will result in a list containing vectors with integer values for windows on each chromosome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.