RobustRescale: similar to scales::rescale but use quantile 95

Description Usage Arguments Value

View source: R/utils.R

Description

similar to scales::rescale but use quantile 95

Usage

1
RobustRescale(x, probs = c(0.05, 0.95), max = 10, min = 0, ground = NULL)

Arguments

x

a vector of numeric

probs

get the actual_min and actual_max. this may remove the outliers effect.

max

rescale actual_max to this max value

min

rescale actual_min to this min value

ground

for gene expression , to set 0 as the actual_min

Value

a vector


zzwch/convgene documentation built on July 11, 2021, 9:41 a.m.