summarizeWindowStd: 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
summarizeWindowStd(phInf, windowSize = 3, overlap = TRUE)

Arguments

phInf

The locations on the chromosomes.

windowSize

Size of how many Locations should be combined.

overlap

States if the windows should overlap.

Value

Indices for summarization

Author(s)

Djork-Arne Clevert okko@clevert.de and Andreas Mitterecker mitterecker@bioinf.jku.at

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 = ""))
summarizeWindowStd(phInf)

mitterecker/cn.farms documentation built on March 10, 2020, 10:19 a.m.