closestToZero {RNAither} | R Documentation

## Return the replicate value closest to zero

### Description

Out of a set of replicate values, returns the one closest to zero.

### Usage

    closestToZero(Ivec, na.rm = T)

### Arguments

`Ivec` | All channel values for a specific siRNA/gene
`na.rm` | Removes NA values

### Value

A double giving the value closest to zero out of the given replicate values.

### See Also

`rms`, `trim`, `furthestFromZero`, `summarizeReps`, `summarizeRepsNoFiltering`

### Examples

    data(exampleDataset, package="RNAither")
    Indexes <- findReplicates(dataset, "GeneName", "CPSF1")
    replicateclosest <- closestToZero(dataset$SigIntensity[Indexes])

[Package RNAither version 2.32.0 Index]