Return a list of p-value, confidence intervals of X-(X1+X2),etc. if p-value is small, reject H0, otherwise, not enough evidence to reject H0
subclonal.test(vaf.col.name, parent.cluster, sub.clusters = NULL,
boot = NULL, cdf = NULL, min.cluster.vaf = 0, alpha = 0.05,
alternative = "greater")
output of generate.boot(), if NULL, test using VAFs
name of the VAF column
the cluster of mutations representing the parent clone
vector of sub clusters to test if they can be all directly arise from the parent clone; if NULL, the parent.cluster will be tested against 0 (this will help determine if this (parent)clone represents with high enough cell frac to report)
Clonal data frame with VAF
if not NULL and no bootstrap used, any cluster VAF smaller than this is considered zero
alternative hypothesis c('greater', 'less') default = 'greater' ie. Ha: mean_X >= mean_X1 + mean_X2