Learn R Programming

Starr (version 1.28.0)

fill: 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