Description Usage Arguments Value
Creates weights and position priors from the hierachical clustering (tree) given a number of clusters Nclust. The centers of each cluster is found by Center = \frac{∑\limits_{m \in cluster}{Normalized Alt_{m}}}{∑\limits_{m \in cluster}{Normalized Alt_{m}}}
1 | Create_prior_cutTree(tree, Schrod_cells, NClus, jitter = FALSE)
|
tree |
The tree generated by Cellular_preclustering |
Schrod_cells |
The classic output from Schrodinger function |
NClus |
the number of clusters to cut the data |
jitter |
Should it jitter weights and centers around values found? |
returns a list with:
The proportion of mutations in each cluster
A list with a numeric vector for each sample, with the cellularity of each cluster
@importFrom stats cutree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.