TileConvStartToCenter {TileShuffle}R Documentation

TileConvStartToCenter

Description

Converts start positions to center positions.

Usage

TileConvStartToCenter(startpos, length)

Arguments

startpos An integer vector containing the start positions.
length An integer vector containing the length information.

Details

Converts start positions to center positions with an additional length vector given. Center positions are rounded off in case of even window length.

Value

An integer vector containing the center position to the start positions.


[Package TileShuffle version 0.1.0 Index]