View source: R/gsdensity_functions.R
sample.spatial.kld | R Documentation |
this function is called by 'compute.spatial.kld' to calculate the kl-divergence between cell-weighted with shuffled weight vector and the ref (all cells, unweighted)
sample.spatial.kld(weight_vec, spatial.coords, n, ref)
weight_vec |
weight_vec |
spatial.coords |
spatial.coords |
n |
n |
ref |
ref |
returns randomly sampled spatial klds for gene sets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.