tightClustPam: Tight Clustering

Description Usage Arguments Details Value Author(s) Examples

Description

This function could perform the tight clustering algorithm using dissimilarity matrix as input.

Usage

1
2
3
tightClustPam(adist, target, k.min, alpha = 0.1, beta = 0.6, top.can = 7,
  seq.num = 2, resamp.num = 10, samp.p = 0.7, nstart = 1,
  remain.p = 0.1, k.stop = 5, random.seed = NULL)

Arguments

adist

Input dissimilarity matrix.

target

The total number of clusters that the user aims to find.

k.min

The starting point of k0. See 'Details' for more information.

alpha

The threshold of comembership index. Default value is suggested to be used.

beta

The threshold of clusters stably found in consecutive k0. Default value is suggested to be used.

top.can

The number of top (size) candidate clusters for a specific k0. Default value is suggested to be used.

seq.num

The number of subsequent k0 that finds the tight cluster. Default value is suggested to be used.

resamp.num

Total number of resampling to obtain comembership matrix. Default value is suggested to be used.

samp.p

Percentage of subsamples selected. Default value is suggested to be used.

nstart

Number of different random inital for K-means. Default value is suggested to be used.

remain.p

Stop searching when the percentage of remaining points <= remain.p. Default value is suggested to be used.

k.stop

Stop decreasing k0 when k0<=k.stop. Default value is suggested to be used.

random.seed

If random.seed is NULL no random seed will be set. If random.seed is a number, it will be used as the random seed. This parameters should be used to get the same result for different runs.

Details

Tight clustering method is a resampling-evaluated clustering method that aims to directly identify tight clusters in a high-dimensional complex data set and allow a set of scattered objects without being clustered. The method was originally developed for gene cluster analysis in microarray data but can be applied in any complex data. The most important parameter is k.min. A large k.min results in smaller and tighter clusters. Normally k.min>=target+5 is suggested. All other parameters do not affect the quality of final clustering results too much and are suggested to remain unchanged. This packages is directly inherited from R tightClust package

Value

Returned value is a "tight.clust" object (list). The first element is the original data matrix. The second element is a vector representing the cluster identity (-1: scattered gene set; 1: the first cluster; 2: the second cluster; ...). The third element is a vector of the size of each tight cluster.

Author(s)

Chi Song <song.1188@osu.edu>

Examples

1
2
3
4
5
6
7
G<-100
S<-3
nsample <- 10000
plus <- matrix(c(sample(nsample,G*S,replace = TRUE),rep(0,G*S)),2*G,S)
minus <- matrix(c(rep(0,G*S),sample(nsample,G*S,replace = TRUE)),2*G,S)
dissimilarity <- distance(plus, minus, nsample)
tightClustResult <- tightClustPam(dissimilarity, target=2, k.min=5)

Caleb-Huo/BayesMP documentation built on May 6, 2019, 9:27 a.m.