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 Nov. 18, 2024, 7:14 a.m.