hruv.Rd
Hierarchical approach to remove unwanted variation across multiple batches of data.
For intra
method, rlm
or loess
methods fits robust
linear model or loess respectively to samples selected from pCtName
.
rlmShort
and loessShort
both performs robust smoother rlm
and loess
respectively then performs RUV-III utilising the replicates
identified from intra_rep
. Parameters negCtl
and intra_k
will be used for RUV-III.
A list of SummarizedExperiment data where each object represents a batch.
An assay name to measure the missingness of the signals.
An intra-batch normalisation method. See Description for details.
An inter-batch normalisation method. Either "balanced" or "concatenate" method for hierarchical approach.
An intra-batch RUV-III parameter k value.
An inter-batch RUV-III parameter k value.
A name of the variable in the colData of each
SummarizedExperiment data in the dat_list
. This variable in colData
should be a numeric ID of which samples to use for robust smoother fitting.
A vector of row IDs for selection of stable matbolites to be used as negative control in RUV.
A name of the variable in the colData of each
SummarizedExperiment data in the dat_list
. This variable in colData
should be a logical vector of which samples are an intra-batch replicate
A name of the variable in the colData of each
SummarizedExperiment data in the dat_list
. This variable in colData
should be a logical vector of which samples are an inter-batch replicate
A vector of batch names from names of list dat_list
.
A name of the new assay for cleaned (preprocessed) data.
A normalised data as SummarizedExperiment object.