Averages expression values for a single time-series across replicate groups.

averageReps(geneExpr, Reps)

Arguments

geneExpr

a vector of numeric time-series expression values with replicates.

Reps

a vector defining the number of replicates at each time point.

Value

a vector of average numeric time-series expression values by replicate time-points.

See also

Examples

geneExpr <- c(1, 5, 3, 4, 5, 8) reps <- c(2, 3, 1) averageReps(geneExpr = geneExpr, Reps = reps)
#> [1] 3 4 8