View source: R/04_Manage_Missing.R
imputeMissing | R Documentation |
Imputes the data using a normal distribution down-shifted from the median by a user defined number of standard deviations and a user defined width. the distribution of the imputed data can be evaluated using the function imputeMissingEval().
imputeMissing(romics_object, nb_stdev = 1.8, width_stdev = 0.5, seed = 42)
romics_object |
has to be an romics_object created using romicsCreateObject() |
This function will impute the data 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.
The function will return a modified romics_object that will have imputed data, however the missingdata layer will conserve the location of the missingness, the missingness can subsequently be restored using the function romicsRestoreMissing().
Geremy Clair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.