Description Usage Arguments Details Value Methods (by class) Author(s) See Also Examples
Looks for the similarity between genes in groups
1 2 3 4 | clusterSim(cluster1, cluster2, info, method = "max", ...)
## S4 method for signature 'character,character,GeneSetCollection'
clusterSim(cluster1, cluster2, info, method = "max", ...)
|
cluster1, cluster2 |
A vector with genes. |
info |
A GeneSetCollection or a list of genes and the pathways they are involved. |
method |
one of |
... |
Other arguments passed to |
Once the pathways for each cluster are found they are combined using
combineScores
.
clusterSim
returns a similarity score of the two clusters
cluster1 = character,cluster2 = character,info = GeneSetCollection
: Calculates all the similarities of the
GeneSetCollection and combine them using combineScoresPar
Llu<c3><ad>s Revilla
For a different approach see clusterGeneSim
,
combineScores
and conversions
1 2 3 4 5 6 7 8 9 10 | if (require("org.Hs.eg.db")) {
#Extract the paths of all genes of org.Hs.eg.db from KEGG (last update in
# data of June 31st 2011)
genes.kegg <- as.list(org.Hs.egPATH)
clusterSim(c("9", "15", "10"), c("33", "19", "20"), genes.kegg)
clusterSim(c("9", "15", "10"), c("33", "19", "20"), genes.kegg, NULL)
clusterSim(c("9", "15", "10"), c("33", "19", "20"), genes.kegg, "avg")
} else {
warning('You need org.Hs.eg.db package for this example')
}
|
If you use BioCor in published research, please cite:
Loading required package: org.Hs.eg.db
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colMeans, colSums, colnames,
dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
intersect, is.unsorted, lapply, lengths, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which, which.max, which.min
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: IRanges
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
[1] 0.07083146
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.