summarizeWindowBps: Combines neighbouring locations to windows

Description Usage Arguments Value Author(s) Examples

View source: R/windowFunctions.R

Description

Combines neighbouring locations to windows

Usage

1
summarizeWindowBps(phInf, fixedBps = 10000, upperLimit = 6)

Arguments

phInf

The locations on the chromosomes.

fixedBps

Size of the window in basepairs.

upperLimit

Maximal number of neigbouring locations to combine.

Value

Indices for summarization

Author(s)

Djork-Arne Clevert [email protected] and Andreas Mitterecker [email protected]

Examples

1
2
3
4
5
6
7
8
## create toy physical data
sizeTmp <- 30
phInf <- data.frame(
        chrom = rep("15", sizeTmp),
        start = seq(from = 1, by = 300, length.out = sizeTmp),
        end = seq(from = 3600, by = 300, length.out = sizeTmp),
        man_fsetid = paste("SNP_A-", seq(sizeTmp)+1000, sep = ""))
summarizeWindowBps(phInf)

Bioconductor-mirror/cn.farms documentation built on June 1, 2017, 6:35 a.m.