R/heterogeneity.R
heterogeneity.Rd
math_score calculates MATH (mutant-allele tumor heterogeneity) score from variant allele frequencies.
math_score
math_score(x, constant = 1.4826, na.rm = FALSE)
a numeric vector.
scale factor.
if TRUE then NA values are stripped from x before computation takes place.
TRUE
NA
x