SignatureDistance {GeneExpressionSignature} | R Documentation |
This function integrated the function for rank merging and distance scoring, we can do the rank merging and distance scoring simply with it.
SignatureDistance( exprSet, SignatureLength, MergingDistance = c("Spearman", "Kendall"), ScoringMethod = c("GSEA", "PGSEA"), ScoringDistance = c("avg", "max"), weighted = TRUE, ... )
exprSet |
an |
SignatureLength |
the length of "gene signature". In order to compute pairwise distances among samples, genes lists are ranked according to the gene expression ratio (fold change). And the "gene signature" includes the most up-regulated genes (near the top of the list) and the most down-regulated genes (near the bottom of the list). |
MergingDistance |
distance to be used which "measures" the similarity of ordered lists, "Spearman" or "Kendall". |
ScoringMethod |
method to be used to perform distance scoring, "GSEA" or "PGSEA". |
ScoringDistance |
the distance measurements between PRLs: the Average Enrichment Score Distance ("avg"), or the Maximum Enrichment Score Distance ("max"). |
weighted |
there are tow rank merging approaches for two cases: if
|
... |
additional arguments can be passed to |
the result from ScoreGSEA()
or ScorePGSEA()
.
RankMerging()
,ScoreGSEA()
,ScorePGSEA()
#load the sample expressionSet data(exampleSet) # distance scoring SignatureDistance( exampleSet, SignatureLength = 250, MergingDistance = "Spearman", ScoringMethod = "GSEA", ScoringDistance = "avg", weighted = TRUE )