evalSigGeneImportanceSparse: Calculate Gene-Signature Importance

View source: R/AnalysisFunctions.R

evalSigGeneImportanceSparseR Documentation

Calculate Gene-Signature Importance

Description

For each signature, the contribution of each gene to the signature score is evaluated by calculating the covariance between signature scores and expression The correlation of genes with a negative sign in the signature are inverted.

Usage

evalSigGeneImportanceSparse(sigScores, sigData, normExpr)

Arguments

sigScores

matrix of signature scores (Cells x Signatures)

sigData

list of Signature objects

normExpr

output from calling getNormalizedCopySparse

object

the VISION object

Details

This version is made to avoid inflating sparse matrices

Value

the VISION object, with SigGeneImportance slot populated

named list with one item per signature. Values are named vectors of each gene's association (covariance) with the signature.


YosefLab/VISION documentation built on Feb. 19, 2023, 9:50 p.m.