bdm.hlCorr: HD/LD correlation.

View source: R/bdm_hlC.R

bdm.hlCorrR Documentation

HD/LD correlation.

Description

Pair-wise distance correlation between HD and LD neighborhoods.

Usage

bdm.hlCorr(data, bdm, zSampleSize = 1000, threads = 4, mpi.cl = NULL)

Arguments

data

Input data (a matrix, a big.matrix or a .csv file name).

bdm

A bdm instance as generated by bdm.ptsne().

zSampleSize

Number of data points to check by thread. (Default value is zSampleSize=1000).

threads

The number of parallel threads (according to data size and hardware resources, i.e. number of cores and available memory. Default value is threads = 4).

mpi.cl

An MPI (inter-node parallelization) cluster as generated by bdm.mpi.start(). (By default mpi.cl = NULL a 'SOCK' (intra-node parallelization) cluster is generated).

Value

A copy of the input bdm instance with new element bdm$knP.

Examples


# --- load example dataset
## Not run: 
bdm.example()
m <- bdm.hlCorr(exData[, 1:4], ex$map, threads = 4)

## End(Not run)


jgarriga65/bigMap documentation built on June 10, 2024, 7:05 a.m.