compute_A.Rd
This function make a Dirichlet distribution
compute_A(n = 100, prop = c(0.3, 0.6, 0.1), alpha0 = 1)
n | The number of patients to simulate. |
---|---|
prop | The different proportion of cell types in a vector of size k (number of cell types). |
alpha0 | The variance between the patients, 1 is an high variance and 10,000 is a very low variance. |
This function return a matrix of size k*n with the cell type proportions.