View source: R/impute_normal.R
impute_normal | R Documentation |
Impute missing values by random numbers drawn from a normal distribution that has a down-shifted mean and shrunken standard deviation from the sample distribution. This is meant to be similar to imputation in the Perseus software.
impute_normal(object, width = 0.3, downshift = 1.8, seed = 100)
object |
Data frame or matrix containing filtered and log-transformed data. |
width |
Scale factor for the standard deviation of imputed distribution relative to the sample standard deviation. |
downshift |
Down-shifted the mean of imputed distribution from the sample mean, in units of sample standard deviation. |
seed |
Random seed |
A matrix with imputed values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.