View source: R/dataprocessing_functions.R
getBinsStartsEnds | R Documentation |
This function split genome into evenly sized bins
getBinsStartsEnds(window = 5e+05, chr, lengthChr)
window |
numeric variable with the bin size. Default is 500kb |
chr |
character variable with the chromosome name |
lengthChr |
numeric variable with the chromosome length |
list with genomic positions of each bin
posBins <- lapply(seq_len(22),function(chr) getBinsStartsEnds(window=500000, chr, lengthChr[chr]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.