imputeMissingEval: imputeMissingEval()

View source: R/04_Manage_Missing.R

imputeMissingEvalR Documentation

imputeMissingEval()

Description

Plots the distribution of the data to be imputed using the imputeMissing() function. Enables to optimize the parameters prior to apply the imputeMissing() function.

Usage

imputeMissingEval(
  romics_object,
  nb_stdev = 1.8,
  width_stdev = 0.5,
  bin = 1,
  scale_x = c(-10, 10)
)

Arguments

romics_object

has to be an romics_object created using romicsCreateObject()

Details

This function does not alter the romics_object, it plots the distribution of the whole data and of the imputed values using the method described in the Perseus paper by Tyranova et al. 2016 (Nature Method). By default the data is imputed with values in a normal distribution 1.8 standard deviation away from the median and a width of distribution of 0.5.

Value

This function will return a ggplot2 geom_bar plot. it can then be further visually adjusted using the ggplot2 commands

Author(s)

Geremy Clair


PNNL-Comp-Mass-Spec/RomicsProcessor documentation built on March 18, 2023, 5:14 a.m.