Function that allows for the imputation of missing values using the missForest algorithm.

impute.counts(
  DEprot.object,
  max.iterations = 100,
  variable.wise.OOBerror = TRUE,
  use.normalized.data = TRUE,
  overwrite.imputation = FALSE,
  cores = 1,
  parallel.mode = "variables",
  verbose = FALSE
)

Arguments

DEprot.object

A DEprot object, as generated by load.counts.

max.iterations

Max number of iterations for the missForest algorithm. Default: 100.

variable.wise.OOBerror

Logical value to define whether the OOB error is returned for each variable separately. Default: TRUE.

use.normalized.data

Logical value indicating whether the imputation should be performed based on the rationalized data. Default: TRUE.

overwrite.imputation

Logical value to indicate whether, in the case already available, the table of imputed counts should be overwritten. Default: FALSE.

cores

Number of cores used to run the missForest algorithm. If cores is 1 (or lower), the imputation will be run in parallel. Two modes are possible and can be defined by the parameter parallel.mode. Default: 1.

parallel.mode

Define the mode to use for the parallelization, ignored when cores is more than 1. One among: 'variables', 'forests'. Default: "variables". See also the documentation of the missForest function.

verbose

Logical valued indicating whether processing messages should be printed. Default: FALSE.

Value

A DEprot object. The boxplot showing the distribution of the protein intensity is remade and added to the slot (boxplot.imputed). A list with parameters and other info about the imputation is added as well in the imputation slot.

See also