med_smooth: 2-way median smooth

View source: R/med_smooth.R

med_smoothR Documentation

2-way median smooth

Description

Given a platemap produced by plate_map, will return a dataframe with after values have been transformed into a matrix mirroring the plate structure and undergoing a 2-way median polish to remove row or column effects

Usage

med_smooth(
  platemap,
  plate,
  eps = 0.01,
  maxiter = 10,
  trace.iter = FALSE,
  na.rm = TRUE,
  normalise = FALSE
)

Arguments

platemap

dataframe produced by plate_map

plate

numeric, number of wells in plate, either 96 or 384

eps

real number greater than 0. A tolerance for divergence

maxiter

int, the maximum number of iterations

trace.iter

Boolean, should progress in convergence be reported?

na.rm

Boolean, should missing values be removed?

normalise

Boolean, should the data be divided by the MAD?

Value

A dataframe consisting of two column, wellID and polished numeric values


Swarchal/platetools documentation built on March 7, 2024, 10 p.m.