Description Usage Arguments Value Examples
Function that finds the minimun number of signatures needed recreated mutational profiles of each cluster to a certain threshold However cant deal with clusters of size = 1. These are removed.
1 2 | get_contributing_signatures(ClusterDF, cos_sim_samples_cosmic,
mutational_matrix, threshold)
|
ClusterDF |
Dataframe with cluster information |
mutational_matrix |
Mutational matrix from mut_mat() |
cos_sim_matrix |
cosine simililarity matrix |
treshold |
Treshold for needed cosine similarity between reconstructed and original mutational matrix |
DF with main contributing signatures in each cluster
1 | get_signatre(Cluster,cos_sim_matrix,mutational_matrix,treshold=0.95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.