fill {Starr} | R Documentation

## Fill large spaces in one profile with NA

### Description

This function fills spaces in a profiles, that exceed a given distance. It is called by fillNA.

### Usage

    fill(pos, val, distance, spacing, strand)

### Arguments

`pos` | a vector with genomic position of the signals
`val` | a vector, with ChIP signals
`distance` | spaces, exceeding this distance are filled with NA
`spacing` | probe spacing on the chip
`strand` | watson (+1), or crick (-1)

### Value

a vector of signals, filled with NA

### Author(s)

Benedikt Zacher zacher@lmb.uni-muenchen.de

[Package Starr version 1.36.0 Index]