Description Usage Arguments Details Value Author(s) See Also Examples
Calculate pairwise Spearman correlational distances, i.e. 1-SPEAR or
1-|SPEAR|, for all rows of a matrix and return a dist
object.
1 | spearman.dist(x, ...)
|
x |
n by p matrix or ExpressionSet; if x is an ExpressionSet, then the function uses its 'exprs' slot. |
... |
arguments passed to
|
We call cor
with the appropriate arguments to compute the row-wise correlations.
One minus the Spearman correlation, between rows of x
, are returned, as
an instance of the dist
class.
Beiying Ding
cor.dist
, tau.dist
, euc
,
man
, KLdist.matrix
, KLD.matrix
,
mutualInfo
, dist
1 2 | x <- matrix(rnorm(200), nrow = 5)
spearman.dist(x)
|
Loading required package: Biobase
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, cbind, colMeans, colSums, colnames, 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
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
1 2 3 4
2 0.7564728
3 0.7859287 0.8879925
4 0.8943715 0.8949343 0.9923077
5 0.8844278 0.8943715 0.9924953 0.7429644
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.