Description Usage Arguments Value Examples
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.
1 | biclusterNumbers2membershipMatrices(biclusterNumber, m, k)
|
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 |
a list
of two matrices
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.