check_replicates {PlateVision}R Documentation

Check Technical Replicates

Description

Scans the experiment for wells where technical replicates disagree (high standard deviation).

Usage

check_replicates(data, sd_threshold = 0.5)

Arguments

data

Output from import_plate().

sd_threshold

Maximum allowed Standard Deviation between replicates (default 0.5).

Value

A dataframe of "Bad Wells" to investigate.

Examples

# Data with a good group (SD=0.1) and a bad group (SD=2.0)
df <- data.frame(
  Sample = c(rep("S1", 3), rep("S2", 3)),
  Gene = "GAPDH",
  Ct = c(20.0, 20.1, 20.2,  25.0, 25.0, 29.0) # S2 has an outlier
)

# Run Check
check_replicates(df, sd_threshold = 0.5)

[Package PlateVision version 0.1.0 Index]