signatureCoherence.Rd
Evaluates signature coherence by computing signature score (using runMS) and then calculating correlations between signature components (i.e., gene expression) and signature score. Genes for which correlations do not exceed coherence threshold are dropped and remaining genes are used to calculate new coherent signature.
signatureCoherence(
object = NULL,
ms.result = NULL,
genelist,
slot = "data",
assay = DefaultAssay(object),
coherence.threshold = 0.1,
show.grid = T,
coherent.ms = T,
cor.method = "spearman",
...
)
Seurat object
Output from runMS() for provided genelist. If not specified, signatures are computed using runMS.
Named list of genes used to compute gene signature.
Seurat slot used for gene expression correlations. Default is 'data.'
Seurat assay. Default is DefaultAssay(object).
Coherence threshold. Default is 0.1.
Logical to show grid on coherence graph.
Logical to recompute coherent signature following coherence thresholding.
correlation metod used to determine signature coherence. Options: spearman, pearson. Default is spearman.
additional parameters passed to scMiko::runMS().
list of results