This function takes a matrix of expression values (must be greater than 0) and returns a matrix of probabilities by column. This is a required transformation for the Jensen-Shannon distance which is a metric that operates on probabilities.
A matrix of expression values (values must be greater than 0).
To make a matrix of probabilities by row, use t() to transpose prior to calling makeprobs.
A matrix of expression probabilities by column.
Loyal A. Goff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.