clip_matrix_values: Clip matrix values to specified range

View source: R/utils.R

clip_matrix_valuesR Documentation

Clip matrix values to specified range

Description

Clip matrix values to specified range

Usage

clip_matrix_values(mat, clip_range)

Arguments

mat

Matrix to clip

clip_range

Numeric vector of length 2 with min and max values

Value

Matrix with values clipped to range


sctransform documentation built on Jan. 10, 2026, 9:17 a.m.