A series of functions to implement association of covariance for detecting differential co-expression (ACDC), a novel approach for detection of differential co-expression that simultaneously accommodates multiple phenotypes or exposures with binary, ordinal, or continuous data types. Users can use the default method which identifies modules by Partition or may supply their own modules. Also included are functions to choose an information loss criterion (ILC) for Partition using OmicS-data-based Complex trait Analysis (OSCA) and Genome-wide Complex trait Analysis (GCTA). The manuscript describing these methods is as follows: Queen K, Nguyen MN, Gilliland F, Chun S, Raby BA, Millstein J. "ACDC: a general approach for detecting phenotype or exposure associated co-expression" (2023) <doi:10.3389/fmed.2023.1118824>.

Performs Modal Clustering (MAC) including Hierarchical Modal Clustering (HMAC) along with their parallel implementation (PHMAC) over several processors.  These model-based non-parametric clustering techniques can extract  clusters in very high dimensions with arbitrary density shapes. By default clustering is performed over several resolutions and the results are summarised as a hierarchical tree. Associated plot functions are also provided. There is a package vignette that provides many examples. This version adheres to CRAN policy of not spanning more than two child processes by default.

Provides estimators of the mode of univariate
    data or univariate distributions.

Given independent and identically distributed observations X(1), ..., X(n) from a density f,
 provides five methods to perform a multiscale analysis about f as well as the necessary critical
 values. The first method, introduced in Duembgen and Walther (2008), provides simultaneous confidence statements
 for the existence and location of local increases (or decreases) of f, based on all intervals I(all) spanned by
 any two observations X(j), X(k). The second method approximates the latter approach by using only a subset of
 I(all) and is therefore computationally much more efficient, but asymptotically equivalent. Omitting the additive
 correction term Gamma in either method offers another two approaches which are more powerful on small scales and
 less powerful on large scales, however, not asymptotically minimax optimal anymore. Finally, the block procedure is a
 compromise between adding Gamma or not, having intermediate power properties. The latter is again asymptotically
 equivalent to the first and was introduced in Rufibach and Walther (2010).