Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

jsDist

Jensen–Shannon distance metric (i.e. the square root of the Jensen–Shannon divergence) between the columns of a dense matrix m


Description

Jensen–Shannon distance metric (i.e. the square root of the Jensen–Shannon divergence) between the columns of a dense matrix m

Usage

jsDist(m)

Arguments

m

Input matrix

Value

Vectorized version of the lower triangle as an R distance object, stats::dist()

Examples

ex = matrix(1:9, nrow = 3, ncol = 3)
jsDist(ex)

sccore

Core Utilities for Single-Cell RNA-Seq

v0.1.3
GPL-3
Authors
Viktor Petukhov [aut], Ramus Rydbirk [aut], Peter Kharchenko [aut], Evan Biederstedt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.