estimateDc: Estimate the distance cutoff (density neighbourhood) from...

Description Usage Arguments Value

View source: R/ClusterX.R

Description

This function estimate a distance cutoff value from the down-samples data, wchich meet the criteria that the average neighbor rate (number of points within the distance cutoff value) fall between the provided range.

Usage

1
2
estimateDc(data, sampleSize = 5000, neighborRateLow = 0.01,
  neighborRateHigh = 0.02)

Arguments

data

Numeric matrix of data or data frame.

sampleSize

The size of the down-sampled data.

neighborRateLow

The lower bound of the neighbor rate (default 0.01).

neighborRateHigh

The upper bound of the neighbor rate (default 0.15).

Value

A numeric value giving the estimated distance cutoff value.


JinmiaoChenLab/ClusterX documentation built on May 7, 2019, 10:52 a.m.