Description Usage Arguments Details Value Functions Examples
View source: R/imputeMissingValues.R View source: R/imputeMissingValues.R
Replaces 0 values in a traces object with NA
according to
a specified rule. NA values can then be imputed.
1 2 3 4 5 | findMissingValues(traces, bound_left = 2, bound_right = 2,
consider_borders = TRUE)
findMissingValues(traces, bound_left = 2, bound_right = 2,
consider_borders = TRUE)
|
traces |
Object of class traces. |
bound_left |
Numeric integer, the minimum number of non-zero values to the
left of a missing value to be replaced with |
bound_right |
Numeric integer, the minimum number of non-zero values to the
right of a missing value to be replaced with |
consider_borders |
Logical, whether to find missin values in the first/last fractions
(e.g. |
The algorithm identifies 0 values on the dataset as missing values if they fulfill
the rule: (1)*bound_left - 0 - (1)*bound_right
i.e. a zero value has to have at least
a specified number of non-zero neighbors to be classified as NA
.
Object of class traces. Missing values are replaced with NA
.
findMissingValues
: Find missing values one traces object
1 2 | tracesMiss <- findMissingValues(examplePeptideTraces)
View(tracesMiss$traces)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.