View source: R/AnalysisFunctions.R
evalSigGeneImportanceSparse | R Documentation |
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.
evalSigGeneImportanceSparse(sigScores, sigData, normExpr)
sigScores |
matrix of signature scores (Cells x Signatures) |
sigData |
list of Signature objects |
normExpr |
output from calling getNormalizedCopySparse |
object |
the VISION object |
This version is made to avoid inflating sparse matrices
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.