zeroOne: Convert to Zero and One Range

View source: R/utils.R

zeroOneR Documentation

Convert to Zero and One Range

Description

Convert data to values between zero and one.

Usage

zeroOne(x, min_pct = 0, max_pct = 1)

Arguments

x

Data.

min_pct

Values below this percentile will be replaced with this percentile value. Default is 0.

max_pct

Values above this percentile will be replaced with this percentile value. Default is 1.

Value

Returns new values in zero and one range.


stevexniu/scMatchmaker documentation built on June 2, 2022, 12:35 p.m.