b_score: 2 way median polish

Description Usage Arguments Examples

View source: R/med_smooth.R

Description

2 way median polish to remove plate effects such as row/column/edge effects. Given a dataframe containing alpha-numeric wellIDs and numerical values, this b_score will return a dataframe of the same structure after a two-way median smooth.

Usage

1
b_score(data, well, plate)

Arguments

data

numeric data, either a vector or dataframe column

well

alpha-numeric wellIDs. e.g 'A01'

plate

numeric, number of wells within a plate, either 96 or 384

Examples

1
2
3
4
5
6
df <- data.frame(well = num_to_well(1:96),
                 vals = rnorm(96))

b_score(data = df$vals,
        well = df$well,
        plate = 96)

platetools documentation built on May 30, 2017, 2:04 a.m.