R/metrics.R
metric_entropy.Rd
Shannon entropy of each row in the given log base
metric_entropy(cells, base = 2)
Cells or a matrix with one distribution per row.
Logarithm base.
A numeric vector.