Use PTL model to estimate the significance of a difference between the values of some feature of interest in two selected objects from a dataset.
evaluateDiffSignificance(d,diff,PTLmodel)
Numeric value specifying global dissimilarity between the selected objects
Numeric value specifying magnitude of difference between the values of a selected feature of interest in the selected objects
List, as returned by the function fitPTLmodel
, with named elements alpha
, beta
and gamma
specifying linear models for PTL parameter prediction.
Numeric value giving p-value representing significance estimate of the observed difference, given the fitted models.
Evaluates statistical significance of observing as great a difference as that observed between the values of a selected feature of interest in the selected objects, given the global dissimilarity between those objects and the PTL models fitted to characterise these distributions across the whole dataset.