biclusterMatrix2List: Convert logical matrices to two lists of rows and columns

Description Usage Arguments Value Examples

Description

Given two logical matrices A_{m,k} and B_{k,n} showing which rows and columns are in bicluster k, returns two lists. The first lists the rows in each bicluster. The second lists the columns in each bicluster.

Usage

1
biclusterMatrix2List(rowxBicluster, biclusterxCol)

Arguments

rowxBicluster

an m x k logical matrix

biclusterxCol

a k x n logical matrix

Value

A list containing two lists

Examples

1
2
3
4
5
6
7
bce <- BiclusterExperiment(yeast_benchmark[[1]])
bce <- addStrat(bce, k = 2, method = "als-nmf")
bcs <- getStrat(bce, 1)
biclusterLists <- biclusterMatrix2List(clusteredFeatures(bcs),
 clusteredSamples(bcs))
biclusterLists[[1]] # Rows in each bicluster
biclusterLists[[2]] # Cols in each bicluster

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