Combine two Biclust objects into one

Share:

Description

Combine two Biclust objects into one

Usage

1
combine(x,y)

Arguments

x

1st Biclust object containing bicluster results

y

2nd Biclust object containing bicluster results

Details

If a biclust function returns empty set, joined result contains only results of non-empty object. Info and Parameters slots of a "Biclust" object contain information about both biclustering runs.

Value

object of a class Biclust

Author(s)

Tatsiana Khamiakova

See Also

BiclustSet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#combine output of two biclust objects
 test <- matrix(rnorm(5000), 100, 50)
 test[11:20,11:20] <- rnorm(100, 3, 0.1)
 test[17:26,21:30] <- rnorm(100, 3, 0.1)
 set.seed(1)
 PlaidRes1 <- biclust(x=test, method=BCPlaid())
 set.seed(2)
 PlaidRes2 <- biclust(x=test, method=BCPlaid())
 combinedRes <- combine(PlaidRes1,PlaidRes2)
 summary(combinedRes)