compare_biclusters: Compare two biclusterings or a pair of partition matrices

Description Usage Arguments Value Examples

View source: R/compare_biclusters.R

Description

Compare two biclusterings or a pair of partition matrices

Usage

1

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

1
2
3
4
5
6
7
8
9
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)

jreisner/sparseBiclustering documentation built on June 22, 2021, 12:54 p.m.