ruvms | R Documentation |
The 'ruvms' function performs an 'ruv::RUVIII' like normalisation on mass-spectrometry data while allowing missing values (NAs) in input data.
ruvms(
Y,
M,
ctl,
k1 = 0,
lambda = 1e-05,
standardise = TRUE,
delta = NULL,
eta = NULL,
include.intercept = TRUE,
average = FALSE,
return.info = FALSE,
inputcheck = FALSE
)
Y |
The data. An m-by-n matrix, where m is the number of observations and n is the number of measurements. |
M |
The replication structure matrix. See |
ctl |
A logical vector of length n indicating the negative control measurements (peptides, proteins or metabolites). |
k1 |
Tuning parameter. Default is 0. |
lambda |
Tuning parameter. Default is 1e-5, only needed when
|
eta |
Column-wise (e.g., protein-wise) covariates. See |
include.intercept |
Logical. See |
average |
Logical, whether to return averaged replicates after normalisation. |
return.info |
Logical. If |
input.check |
Logical. A basic sanity check on the inputs. |
If input.check = FASLE
, the normalised data matrix is
returned. Otherwise a list is returned which contains
newY | The normalised data matrix. | ||||
di | Eigenvalues of the N matrix. | ||||
hi | hi values in the generalised averging operator. | ||||
delta | The delta tuning parameter. | ||||
lambda | The lambda tuning parameter. | ||||
RUV1
, RUVIII
# See vignettes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.