Learn R Programming

rtpcr (version 2.0.1)

meanTech: Calculating mean of technical replicates

Description

Calculating arithmetic mean of technical replicates for subsequent ANOVA analysis

Usage

meanTech(x, groups)

Value

A data frame with the mean of technical replicates.

Arguments

x

A raw data frame including technical replicates.

groups

grouping columns based on which the mean technical replicates are calculated.

Author

Ghader Mirzaghaderi

Details

The meanTech calculates mean of technical replicates. Arithmetic mean of technical replicates can be calculated in order to simplify the statistical comparison between sample groups.

Examples

Run this code

# See example input data frame:
data_withTechRep

# Calculating mean of technical replicates
meanTech(data_withTechRep, groups = 1:4)

# Calculating mean of technical replicates
meanTech(Lee_etal2020qPCR, groups = 1:3)


Run the code above in your browser using DataLab