ScorePGSEAm: Compute pairwise distances between samples with method in...

Description Usage Arguments Details See Also Examples

Description

Compute pairwise distances between sample according to their (Prototype Ranked List) PRL, get a N x N distance matrix is generated by calling this function , N is the length of PRL.

Usage

1
2
ScorePGSEAm(MergingSet, SignatureLength, ScoringDistance = c("avg", "max"),
  ncore = 2, p.value = FALSE, verbose = FALSE)

Arguments

MergingSet

an ExpressionSet object. The assay data represents the PRLs of the samples, each column represents one PRL. The number of sample must be greater than 1, oherwise, this function is not meaningful.

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).

ScoringDistance

the distance measurements between PRLs: the Average Enrichment Score Distance (avg), or the Maximum Enrichment Score Distance (max).

ncore

number of cores

p.value

logical, if TRUE return a matrix of p.values of the distance matrix, default FALSE

verbose

verbose

Details

This function is the parallel version of ScorePGSEAm.

See Also

ScoreGSEA, SignatureDistance

Examples

1
2
3
4
5
6
7
8
9
# load the sample expressionSet
data(exampleSet)

# Merging each group of the ranked lists in the exampleSet with the same 
# phenotypic data into a single PRL
MergingSet=RankMerging(exampleSet,"Spearman")

# get the distance matrix
ds=ScorePGSEAm(MergingSet,250, ScoringDistance="avg", ncore=2)

zhilongjia/GeneExpressionSignature documentation built on May 4, 2019, 11:21 p.m.