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

Description Usage Arguments Value Author(s) Examples

View source: R/FindCluster.R

Description

FindCluster selects the compounds 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.

select

The row (the method) and the number of the cluster to select.

fusionsLog

To be handed to ReorderToReference.

WeightClust

To be handed to ReorderToReference.

names

Optional. Names of the methods.

Value

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

Author(s)

Marijke Van Moerbeke

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="ward",gap=FALSE,maxK=55,StopRange=FALSE)
MCF7_T = Cluster(targetMat,type="data",distmeasure="tanimoto",normalize=FALSE,
method=NULL,clust="agnes",linkage="ward",gap=FALSE,maxK=55,StopRange=FALSE)

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

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

IntClust documentation built on May 2, 2019, 5:23 p.m.