calculate_rds | R Documentation |
Calculates the root diversity scores as the probability that a tree where l metastases form a cluster (have one root) exists by chance as defined by Equation (2).
calculate_rds(k, m, l, use_gmp = T)
k |
number of primary tumor region samples |
m |
total number of metastases samples |
l |
number of metastases that actually cluster together |
use_gmp |
Use gmp R package to calculate RDS for large trees. Required for trees with more around 30 tips (default=T) |
probabilility that a cluster of size l arises by chance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.