Divides each feature column by its upper quantile so that the
probs-quantile maps to 1.0. Scale-only normalisation. Returned matrix
passes directly to somalign_query().
An optional pre-processing step that brings each marker's dynamic range into
\([0, 1]\) before projection to the reference. Unlike somalign_normalize(),
this operates entirely in raw (unscaled) space and does not use the reference
mean or standard deviation; it only uses the reference to resolve feature names.
Arguments
- data
Numeric matrix of query data, same format as the
dataargument tosomalign_query().- reference
A
somalign_referenceobject.- probs
Single numeric in the open interval (0, 1). The quantile used as the normalisation denominator. Default is 0.999 (99.9th percentile).
- features
Optional character vector of feature names. Defaults to
reference$features.
Value
A numeric matrix with the same dimensions as data, with columns in
reference$features order. Each column is divided by its probs-quantile
so the bulk of the signal maps into \([0, 1]\). Pass this matrix directly
to somalign_query().