spearman_rho_mds: Multidimensional scaling on Spearman rho correlation distance

Description Usage Arguments Examples

View source: R/dimensionality_reduction.R

Description

Multidimensional scaling on Spearman rho correlation distance

Usage

1
spearman_rho_mds(X, k = 2)

Arguments

X

the input matrix, where each column is a sample (cell) and each row is a feature (gene)

k

number of latent dimensions, default to 2

Examples

1
2
3
mds <- spearman_rho_mds(t(as.matrix(mtcars)))
plot(mds)
text(mds, row.names(mtcars), cex=0.6, pos=4, col="red")

YutongWangUMich/corgi documentation built on Oct. 26, 2019, 1:13 p.m.