transformScores: Transform scores from raw scores to fractions

View source: R/xCell.R

transformScoresR Documentation

Transform scores from raw scores to fractions

Description

transformScores Returns the trasnformed xCell scores (not adjusted).

Usage

transformScores(scores, fit.vals, scale = TRUE, fn = NULL)

Arguments

scores

raw scores of cell types calculated by rawEnrichmentAnalysis

fit.vals

the calibration values in the spill object (spill$fv).

scale

if TRUE, uses scaling to trnasform scores using fit.vals

fn

string for the file name for saving the scores. Default is NULL.

Value

the trasnformed xCell scores


IOBR/IOBR documentation built on May 5, 2024, 2:34 p.m.