Skip to content

Implementation of HCLUST-M (see interpolatedDistance())#1

Merged
maxbox63 merged 15 commits into
masterfrom
HCLUST-M
Sep 23, 2025
Merged

Implementation of HCLUST-M (see interpolatedDistance())#1
maxbox63 merged 15 commits into
masterfrom
HCLUST-M

Conversation

@maxbox63

@maxbox63 maxbox63 commented Sep 23, 2025

Copy link
Copy Markdown
Collaborator

New in this version:

  • New function interpolatedDistance() implements an dissimilarity which penalizes (half the) squared Euclidean distance with penalty (1-a(r)) = 1 - FN(r) / (FN(r) + FP(r)), which directly mimics the adjacency function created for use in WCNA. For comparison, existing function betaDistance() penalizes (half the) squared Euclidean distance with the likelihood of the correlation coefficient (r) under the null model.
  • Existing function estimateShape() has a different interpretation of the adjustment parameters "left" and "right". In the past these two parameters had an indirect effect on the final estimates; now they have the (expected) direct effect.
  • New function estimateShape2() has adjustment parameters "middle" and "samples", which provide a more intuitive means of adjusting the estimated shape parameters. These are translated into "left" and "right" internally, and also have the expected direct effect.
  • In the previous version there were actually three different conventions for specifying whether to interpret correlations as signed (correlation) or unsigned (association). All functions now use parameter signed=FALSE (default is unsigned).
  • A few mistakes in the documentation of various parameters have been corrected.

Standardized how to specify signed/unsigned
Standardized how to specify signed/unsigned
Provide the FN/(FN+FP) logic to enhance squared Euclidean distance, as an alternative to enhancing through the null model probability itself.
Corrected documentation of signed parameter.
Annotated "signed" and "bins" parameters
Standardized the "signed" parameter
Standardized the "signed" parameter
Corrected documentation of "signed" parameter
Added documentation of the "v.std" parameter.
Improved the documentation of parameter "v".
Provides more intuitive control over the shape parameters.
Corrected the use of "left" and "right".
Corrected how middle and samples affect the shape parameters.
This vignette is not complete, and should be fixed before inclusion.
@maxbox63 maxbox63 merged commit 75e1fb7 into master Sep 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant