FindCluster: Find a selection of objects in the output of...

Description Usage Arguments Value Examples

Description

FindCluster selects the objects belonging to a cluster after the results of the methods have been rearranged by the ReorderToReference.

Usage

1
2
FindCluster(List, nrclusters = NULL, select = c(1, 1), fusionsLog = TRUE,
  weightclust = TRUE, names = NULL)

Arguments

List

A list of the clustering outputs to be compared. The first element of the list will be used as the reference in ReorderToReference.

nrclusters

The number of clusters to cut the dendrogram in. Default is NULL.

select

The row (the method) and the number of the cluster to select. Default is c(1,1).

fusionsLog

Logical. To be handed to ReorderToReference: indicator for the fusion of clusters. Default is TRUE

weightclust

Logical. To be handed to ReorderToReference: to be used for the outputs of CEC, WeightedClust or WeightedSimClust. If TRUE, only the result of the Clust element is considered. Default is TRUE.

names

Optional. Names of the methods. Default is NULL.

Value

A character vector containing the names of the objects in the selected cluster.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(fingerprintMat)
data(targetMat)

MCF7_F = Cluster(fingerprintMat,type="data",distmeasure="tanimoto",normalize=FALSE,
method=NULL,clust="agnes",linkage="flexible",gap=FALSE,maxK=55,StopRange=FALSE)
MCF7_T = Cluster(targetMat,type="data",distmeasure="tanimoto",normalize=FALSE,
method=NULL,clust="agnes",linkage="flexible",gap=FALSE,maxK=55,StopRange=FALSE)

L=list(MCF7_F,MCF7_T)
names=c("FP","TP")

Comps=FindCluster(List=L,nrclusters=7,select=c(1,4))
Comps

IntClust documentation built on May 2, 2019, 5:51 a.m.