Compare the distribution of identities between two
enve.RecPlot2 objects.
enve.recplot2.compareIdentities(
x,
y,
method = "hellinger",
smooth.par = NULL,
pseudocounts = 0,
max.deviation = 0.75
)A numeric indicating the distance between the objects.
First enve.RecPlot2 object.
Second enve.RecPlot2 object.
Distance method to use. This should be (an unambiguous abbreviation of) one of:
"hellinger" (Hellinger, 1090, doi:10.1515/crll.1909.136.210),
"bhattacharyya" (Bhattacharyya, 1943, Bull. Calcutta Math. Soc. 35),
"kl" or "kullback-leibler" (Kullback & Leibler, 1951, doi:10.1214/aoms/1177729694), or
"euclidean"
Smoothing parameter for cubic spline smoothing. Use 0 for no smoothing.
Use NULL to automatically determine this value using leave-one-out
cross-validation (see smooth.spline parameter spar).
Smoothing parameter for Laplace smoothing. Use 0 for no smoothing, or 1 for add-one smoothing.
Maximum mean deviation between identity breaks tolerated (as percent
identity). Difference in number of id.breaks is never tolerated.
Luis M. Rodriguez-R [aut, cre]