compare_biclusters {biclustermd}R Documentation

Compare two biclusterings or a pair of partition matrices

Description

Compare two biclusterings or a pair of partition matrices

Usage

compare_biclusters(bc1, bc2)

Arguments

bc1

the first biclustering or partition matrix. Must be either of class biclustermd or matrix.

bc2

the second biclustering or partition matrix. Must be either of class biclustermd or matrix.

Value

If comparing a pair of biclusterings, a list containing the column similarity indices and the row similarity indices, in that order. If a pair of matrices, a vector of similarity indices.

Examples

data("synthetic")
bc <- biclustermd(synthetic, col_clusters = 3, row_clusters = 2)
bc2 <- biclustermd(synthetic, col_clusters = 3, row_clusters = 2)

# compare the two biclusterings
compare_biclusters(bc, bc2)

# determine the similarity between initial and final row clusterings
compare_biclusters(bc$Q0, bc$Q)


[Package biclustermd version 0.2.3 Index]