Description Slots See Also Examples
A S4 class to store results of a genePrioritization analysis.
resultsA named vactor of candidate scores sorted according to increasing score
seedThe seed genes
candidatesThe candidate genes sorted according to increasing score
coexprA named matrix of shape (nCandidates, nSeed) with coexpression values between each seed and each candidate. Rows are sorted according to increasing candidate score.
ranksA named matrix of shape (nCandidates, nSeed) with ranks of each candidate in each seed gene coexpression list. Candidates are ranked according to their decreasing coexpression. Rows are sorted according to increasing candidate score
1 2 3 4 5 6 7 8 9 10 11 12 13 | a <- matrix(c(1,2,3,2,4,6,8,6,4,5,2,8,7,1,5),
nrow=5, ncol=3,byrow=TRUE)
colnames(a) <- c('sample1','sample2','sample3')
rownames(a) <- c('gene1','gene2','gene3','gene4','gene5')
seed <- c('gene1')
candidates <- c('gene2','gene4')
x <- findCoexpression(counts=a, seedGenes=seed)
y <- rankGenes(x)
z <- candidateScoring(y, candidates)
result <- RankedGeneList(seed=seed, candidates=candidates,
results=z,
coexpr=x[candidates,,drop=FALSE],
ranks=y[candidates,,drop=FALSE])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.