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

[as Matrix]

by.features

[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]