fill: Fill large spaces in one profile with NA

Description Usage Arguments Value Author(s)

View source: R/getProfilesMiddle.R

Description

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

Usage

1
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


Starr documentation built on April 28, 2020, 7:52 p.m.