SharedComps: Intersection of clusters over multiple methods

Description Usage Arguments Value Author(s) Examples

View source: R/SharedComps.R

Description

The SharedComps function is an easy way to select the compounds that are shared over clusters of different methods.

Usage

1
SharedComps(List,nrclusters=NULL,fusionsLog=FALSE,WeightClust=FALSE,names=NULL)

Arguments

List

A list of clustering outputs or the output of the DiffGenes function. The first element of the list will be used as a reference in ReorderToReference.

nrclusters

If List is the output several clustering methods, it has to be provided in how many clusters to cut the dendrograms in.

fusionsLog

To be handed to ReorderToReference.

WeightClust

To be handed to ReorderToReference.

names

Names of the methods or clusters.

Value

A vector containing the shared compounds of all listed elements.

Author(s)

Marijke Van Moerbeke

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data(fingerprintMat)
data(targetMat)
data(geneMat)
data(GeneInfo)
data(ListGO)

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=SharedComps(List=L,nrclusters=7,fusionsLog=FALSE,WeightClust=FALSE,names=names)

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