qpcr_summary: Calculate mean and standard deviation

Description Usage Arguments Value Examples

View source: R/qpcr_summary.R

Description

qpcr_summary is a helper function used for calculating the mean and standard deviation.These values can then be used for plotting.

Usage

1
qpcr_summary(data, to_summarise, ...)

Arguments

data

A data frame or tibble.

to_summarise

Unquoted expression. The column you want to apply the function to, for example the fold change values.

...

Tidy-select. One or more unquoted expressions separated by commas. The variables you want to group your data by. Mean and SD will be calculated for every unique combination of these variables.

Value

Returns the same type as the input (e.g. a data frame or tibble). Returns all columns supplied in ..., column "mean" containing the mean, and column "sd" containing the standard deviation.

Examples

1
2
3
ex_summary <- qpcr_summary(ex_ddcq,
                           to_summarise = fold_change,
                           treatment, primer_pair)

JorikBot/tidyqpcr documentation built on Jan. 28, 2021, 11:44 a.m.