Expand description
Stage 2 of xCell: transformScores.
Calibrates each cell type’s raw enrichment with a per-cell-type power curve.
Functions§
- transform_
scores - Mirrors xCell 1.1.0
transformScores. For each cell type present infv:t = max(0, (raw - rowMin) / 5000), thent^V2 / (V3 * 2). Withscale = false,V3is forced to 1 (so the divisor is exactly 2).