Learn R Programming

romic (version 1.3.3)

impute_missing_values: Impute Missing Values

Description

Impute missing values using K-nearest neighbors imputation

Usage

impute_missing_values(
  tomic,
  impute_var_name = "imputed",
  value_var = NULL,
  ...
)

Value

A tomic object with imputed measurements.

Arguments

tomic

Either a tidy_omic or triple_omic object

impute_var_name

variable to create for imputed measurements

value_var

An abundance value to use with hclust

...

additional arguments to pass to impute.knn

Examples

Run this code
if (FALSE) {
# Requires the 'impute' package from Bioconductor
impute_missing_values(brauer_2008_triple)
}

Run the code above in your browser using DataLab