impute_missing {geneExpression} R Documentation

set the zero value to the half of the min positive value

Description

Usage

impute_missing(x,
    by.features = FALSE);

Arguments

x

an expression matrix object that may contains zero. [as Matrix]

by.features

fill the missing value by the gene feature rows or by the sample columns? by default is fill the missing value by the sample columns. [as boolean]

Details

the missing value(the ZERO value or the NaN value) will be filled with the half of the minimum positive value of the corresponding sample column(or gene feature row when the by_features parameter is TRUE), if there is no positive value in the target sample column, then ZERO will be used.

Authors

phenotype_kit

Value

An expression data matrix with missing data filled

clr value class

Examples


[Package geneExpression version 1.0.0.0 Index]