Normalization data by the median value of each batch in a data.frame
Usage
batch_norm_df(object, test = FALSE, verbose = TRUE)
Arguments
- object
A data.frame object. The first two columns are "ID" and "Batch", the remaining columns for batch normalization
- test
test the function for the first 20 columns.
- verbose
print log information.
Value
A data.frame object after normalization.