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


dviraran/xCell documentation built on May 3, 2024, 7:17 p.m.