ssGSEA.normalize: Normalize a vector of ssGSEA scores in the ssGSEA way.

View source: R/scoreSingleSamples.R

ssGSEA.normalizeR Documentation

Normalize a vector of ssGSEA scores in the ssGSEA way.

Description

ssGSEA normalization (as implemented in GSVA (ssgsea.norm)) normalizes the individual scores based on ALL scores calculated across samples AND genesets. It does NOTE normalize the scores within each geneset independantly of the others.

Usage

ssGSEA.normalize(x, bounds = range(x))

Arguments

x

a numeric vector of ssGSEA scores for a single signature

bounds

the maximum and minimum scores obvserved used to normalize against.

Details

This method is an internal utilit function and not exported on purpose

Value

normalized numeric vector of x


lianos/sparrow documentation built on Dec. 8, 2024, 2:19 a.m.