sigsVsProjection_n: Evaluates the significance of each numeric signature vs. a...

View source: R/methods-Signature.R

sigsVsProjection_nR Documentation

Evaluates the significance of each numeric signature vs. a single projections weights

Description

Evaluates the significance of each numeric signature vs. a single projections weights

Usage

sigsVsProjection_n(sigScores, randomSigData, normExpr, weights, cells = NULL)

Arguments

sigScores

numeric matrix of signature scores size is cells x signatures

randomSigData

A list with three items:

randomSigs: a list of signature score matrices. Each list item represents permutation signatures generated for a specific size/balance, and is a numeric matrix of size cells X signatures

sigAssignments: named factor vector assigning signatures to random background groups

randomSigAssignments: named factor vector assigning signatures to random background groups

obtained from calling generatePermutationNull

normExpr

NormData object used to generate random background sigs

weights

numeric matrix of dimension N_SAMPLES x N_SAMPLES

cells

list of cell names. Subsets anlysis to provided cells. If omitted, use all cells.

Value

list:

  • consistency: consistency scores

  • pvals: pvalues

  • emppvals: empirical pvalues


YosefLab/FastProjectR documentation built on June 13, 2024, 4:20 p.m.