imputeMatrix: imputeMatrix

View source: R/utils.R

imputeMatrixR Documentation

imputeMatrix

Description

Impute missing values with the mean or median across samples (rows) for every feature (cols).

Usage

imputeMatrix(mx, method = "mean")

Arguments

mx

A numeric matrix as input.

method

Imputation method for missing values (mean or median).

Value

Imputed matrix


enriquea/feseR documentation built on Feb. 25, 2025, 12:20 a.m.