# Create_prior_cutTree: Create priors from hierarchical clustering In QuantumClone: Clustering Mutations using High Throughput Sequencing (HTS) Data

## Description

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}}}

## Usage

 1 Create_prior_cutTree(tree, Schrod_cells, NClus, jitter = FALSE) 

## Arguments

 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?

## Value

returns a list with:

weigths

The proportion of mutations in each cluster

centers

A list with a numeric vector for each sample, with the cellularity of each cluster

@importFrom stats cutree

QuantumClone documentation built on May 2, 2019, 3:03 a.m.