set.win: create fix size window

Description Usage Arguments Value Examples

Description

create fix size window

Usage

1
set.win(map, len = NULL, unit = c("Mb", "kb", "count"))

Arguments

map

genomic map has at least two column with column name chr for chromosome id and pos for postition in the chromosome in base pair (bp)

len

window length

unit

the unit for window length can be either Mb or kb or count

Value

a map with new column idw

Examples

1
2
3
4
5
6
7
## Not run: 
 rm(list=ls())
 library(BATools)
 data("Pig")
 

## End(Not run)

chenchunyu88/BATools documentation built on May 19, 2019, 8:21 a.m.