biclusterNumbers2membershipMatrices: Convert row and column numbers to a matrix representation

Description Usage Arguments Value Examples

Description

This function converts the output from biclusternumber into the membership matrix format. The first returned membership matrix shows which rows are in which bicluster. The second returned membership matrix shows which columns are in which bicluster.

Usage

1
biclusterNumbers2membershipMatrices(biclusterNumber, m, k)

Arguments

biclusterNumber

A list describing the rows and columns in each bicluster

m

The numeric matrix in which biclusters were computed

k

Restricts the results to the first k biclusters

Value

a list of two matrices

Examples

1
2
3
4
5
6
7
8
require(biclust)
data <- matrix(rnorm(400), 20, 20)
data[12:16, 8:12] <- rnorm(25, 3, 0.3)
set.seed(1)
biclusters <- biclust(data, BCPlaid(), back.fit = 2, shuffle = 3,
 fit.model = ~m + a + b, iter.startup = 5, iter.layer = 30, verbose = TRUE)
biclusterNumbers <- biclusternumber(biclusters)
biclusterNumbers2membershipMatrices(biclusterNumbers, data, 1)

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