trim: Compute the replicate mean with trimmed values

Description Usage Arguments Value See Also Examples

View source: R/general_functions.R

Description

Computes the mean of replicate values, omitting the highest and the lowest 5

Usage

1
trim(Ivec, na.rm = T)

Arguments

Ivec

All channel values for a specific siRNA/gene

na.rm

Removes NA values

Value

A double giving the trimmed mean of the given replicate values, i.e. omitting the highest and the lowest 5

See Also

rms, closestToZero, furthestFromZero, summarizeReps, summarizeRepsNoFiltering

Examples

1
2
3
4
5
data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")

Indexes <- findReplicates(dataset, "GeneName", "CPSF1")
replicatemean <- trim(dataset$SigIntensity[Indexes])

RNAither documentation built on Nov. 8, 2020, 8:06 p.m.