Skip to contents

Apply the same scaling transformation to new prediction data.

Usage

ApplyScaling(X, scaling_method = "log_min_max")

Arguments

X

Numeric matrix (samples x genes) of new data to scale.

scaling_method

Character. Scaling method to use.

Value

Scaled matrix.

Details

This function applies the same scaling approach used during training to new data. For min-max scaling, each sample is scaled independently based on its own min/max.