shiftZeros: Shifts zeros

View source: R/ngsTools.R

shiftZerosR Documentation

Shifts zeros

Description

Shifts zeros by changing values lower than minSignal to a random numeric in the range of (1/4 to 3/4) * minSignal. This is done to prevent zero signals to stack at 0.

Usage

shiftZeros(counts, minSignal)

Arguments

counts

a set of numeric or integer values.

minSignal

a numeric or integer specifying the minimal signal amount.

Value

Returns the modified count values.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

shiftZeros(1:10, 5)

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.