Apply frozen RUV correction to new samples
Source:R/singlesample-batch-correction.R
apply_frozen_ruv.RdRemoves the unwanted-variation component estimated by
fit_frozen_ruv from one or more new samples. The latent
factors are approximated from the frozen pseudo-inverse learned during
training.
Arguments
- x
Numeric vector (single sample) or matrix (samples \(\times\) features).
- fit
A
frozen_ruv_fitobject fromfit_frozen_ruv.