med_smooth: 2-way median smooth

Description Usage Arguments Value

View source: R/med_smooth.R

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

1
2
3
4
5
6
7
8
med_smooth(
  platemap,
  plate,
  eps = 0.01,
  maxiter = 10,
  trace.iter = FALSE,
  na.rm = TRUE
)

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?

Value

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


platetools documentation built on June 3, 2021, 5:06 p.m.