union.biclust: Create a binary matrix describing a union of biclusters

Description Usage Arguments Value Examples

Description

Given feature-membership matrix A_{m,k} and sample-membership matrix B_{k,n} describing a set of biclusters, returns a binary matrix where any element that is a member of any bicluster is 1.

Usage

1
2
union.biclust(RowxBiclust, BiclustxCol, choose = rep(TRUE,
  ncol(RowxBiclust)))

Arguments

RowxBiclust

a boolean row-membership matrix

BiclustxCol

a boolean column-membership matrix

choose

If provided, each element of choose corresponds to a bicluster (a column of RowxBiclust and a row of BiclustxCol. FALSE elements will exclude biclusters from the calculation.

Value

numeric matrix

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
bce <- BiclusterExperiment(yeast_benchmark[[1]])
bce <- addStrat(bce, k = 4, method = "als-nmf")
bcs <- getStrat(bce, 1)

# Combine all biclusters
union.biclust(clusteredFeatures(bcs), clusteredSamples(bcs))

# Combine only the first and second biclusters
union.biclust(clusteredFeatures(bcs), clusteredSamples(bcs),
 c(TRUE, TRUE, FALSE, FALSE))

jonalim/mfBiclust documentation built on May 4, 2019, 4:13 a.m.