knnMeanDistance: Find mean k-nearest neighbour distance for each sample

Description Usage Arguments Value

View source: R/outliers.R

Description

Compute mean k-nn distances for outlier detection

Usage

1
knnMeanDistance(dataMatrix, max.k = 10)

Arguments

dataMatrix

a data matrix

max.k

max k for mean k-nn distance

Value

a nrow(dataMatrix) by k matrix with the mean k-nn distance for each sample, with k along the columns and samples along the rows


mattdneal/FAIMSToolkit documentation built on May 21, 2019, 12:57 p.m.