View source: R/AssignMutations.R
getClusterDensity | R Documentation |
This function takes the cluster_locations and for each cluster it walks from the cluster peak along CCF space until the median density drops below the supplied minimum in both directions. After obtaining the CCF space that a cluster takes up we calculate the mean density in that space. Finally across all cluster densities we normalise to obtain the fraction of total density that each cluster represents
getClusterDensity(clustering_density, cluster_locations,
min.window.density)
clustering_density |
Posterior density estimate of where clusters are |
cluster_locations |
Estimated cluster locations within the density |
min.window.density |
Minimum stepsize used |
A vector with for each cluster the fraction of density
sd11, dw9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.