b_score | R Documentation |
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.
b_score(data, well, plate, plate_id = NULL, normalise = FALSE)
data |
numeric data, either a vector or dataframe column |
well |
alpha-numeric wellIDs. e.g 'A01' |
plate |
numeric, number of wells within a plate |
plate_id |
Vector of plate_identifiers e.g "plate_01" |
normalise |
Boolean, whether or not to divide by ‘data'’s MAD |
df <- data.frame(well = num_to_well(1:96),
vals = rnorm(96))
b_score(data = df$vals,
well = df$well,
plate = 96)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.