View source: R/missingValuesImputation_PeptideLevel.R
wrapper.dapar.impute.mi | R Documentation |
This method is a wrapper to the function impute.mi()
of the package
imp4p
adapted to an object of class MSnSet
.
wrapper.dapar.impute.mi(
obj,
nb.iter = 3,
nknn = 15,
selec = 600,
siz = 500,
weight = 1,
ind.comp = 1,
progress.bar = FALSE,
x.step.mod = 300,
x.step.pi = 300,
nb.rei = 100,
method = 4,
gridsize = 300,
q = 0.95,
q.min = 0,
q.norm = 3,
eps = 0,
methodi = "slsa",
lapala = TRUE,
distribution = "unif"
)
obj |
An object of class |
nb.iter |
Same as the function |
nknn |
Same as the function |
selec |
Same as the function |
siz |
Same as the function |
weight |
Same as the function |
ind.comp |
Same as the function |
progress.bar |
Same as the function |
x.step.mod |
Same as the function |
x.step.pi |
Same as the function |
nb.rei |
Same as the function |
method |
Same as the function |
gridsize |
Same as the function |
q |
Same as the function |
q.min |
Same as the function |
q.norm |
Same as the function |
eps |
Same as the function |
methodi |
Same as the function |
lapala |
xxxxxxxxxxx |
distribution |
The type of distribution used. Values are |
The Biobase::exprs(obj)
matrix with imputed values
instead of missing values.
Samuel Wieczorek
utils::data(Exp1_R25_pept, package = "DAPARdata")
obj <- Exp1_R25_pept[seq_len(100)]
level <- 'peptide'
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeMatrix(metacell.mask, op = ">=", th = 1)
obj.imp.na <- wrapper.dapar.impute.mi(obj, nb.iter = 1, lapala = TRUE)
obj.imp.pov <- wrapper.dapar.impute.mi(obj, nb.iter = 1, lapala = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.