refMethod: Reference-based approach for batch adjustment
Description
Batch adjustment by considering a measure relative to a reference sample
Usage
refMethod(Y, R1, R2)
Value
The Y data adjusted calibrated to batch 1 (if two batches are
presented) or the data with reference sample expression removed if only one
data is provided
Arguments
Y
data run in first or second batch, samples are rows and genes are
columns. If correcting one batch only R1 is needed and would correspond to
reference run in the same batch as Y, if calibrating one batch to the other
Y represents the data from batch 2 and R1 would be reference run in batch 1
and R2 would be reference from batch 2