Learn R Programming

Introduction

ADPclust (Fast Clustering Using Adaptive Density Peak Detection) is a non-iterative procedure that clusters high dimensional data by finding cluster centers from estimated density peaks. It incorporates multivariate local Gaussian density estimation. The number of clusters as well as bandwidths can either be selected by the user or selected automatically through an internal clustering criterion.

Most recent version: 0.6.5

References

Installation

Install the most recent version from github:

## In R do:
## Skip this line if you already have devtools installed
install.packages("devtools")
library(devtools)
install_github("ethanyxu/ADPclust")
library(ADPclust)

OR install the released version from CRAN

## In R do:
install.packages("ADPclust")
library(ADPclust)

Simple Examples

Run on a preloaded data set:

library(ADPclust)
data(clust3)
# Automatic clustering
ans <- adpclust(clust3)
plot(ans)
summary(ans)

# Manual centroids selection
adpclust(clust3, centroids = "user")

For more examples please see the Vignette.

Copy Link

Version

Install

install.packages('ADPclust')

Monthly Downloads

346

Version

0.7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Yifan Ethan Xu

Last Published

October 15th, 2016

Functions in ADPclust (0.7)

FindCentersAutoV

Automatically find centers with vertical threshold
summary.adpclust

Summary of adpclust
FindClustersGivenCenters

Find cluster assignments given centers and distance matrix
FindH

Find bandwidth h.
FindClustersAuto

Automatically find cluster assignment given f and delta.
FindDistm

Find the distance matrix from data.
FindFD

Find f and delta from distance matrix.
plot.adpclust

Visualize the result of adpclust()
ROT

Calculate ROT bandwidth
FindClustersManual

User-interactive routine to find clusters
defCol

Default colors
AMISE

AMISE bandwidth
clust10

1000 5-dimensional data points that form ten clusters
adpclust

Fast Clustering Using Adaptive Density Peak Detection
dat_gene

243-dimensional gene expression data of 38 patients (243 genes)
clust5.1

500 5-dimensional data points that form five clusters
clust3

90 2-dimensional data points that form three clusters
clust5

500 5-dimensional data points that form five clusters
FindCentersAutoD

Automatically finds centers with diagonal f(x) vs delta(x) thresholds