getFabiaClusters: Extract a list of bicluster objects from an fabia...

View source: R/extract_fabia.R

getFabiaClustersR Documentation

Extract a list of bicluster objects from an fabia biclustering object.

Description

Extract a list of bicluster objects from an fabia biclustering object.

Usage

getFabiaClusters(bics, mat, transposed = FALSE, filterfun = NULL, ...)

Arguments

bics

Extracted fabia biclusters.

mat

Original matrix, that was used for biclustering.

transposed

True, if the bicluster calculation was performed on a tranposed matrix.

filterfun

A function to filter biclusters. Only if the function returns True, the bicluster is added to the returned list. The function has to accept a the bicluster (given as submatrix of mat) filterfun(bicluster_matrix, ...).

...

Other parameters forwarded to the filterfun.

Value

A list of bicluster objects, which have to be valid (See validate_bicluster.

Examples

m <- matrix(seq(1:16), nrow=4)
# m <- matrix(rnorm(10000), nrow=100)
# res <- fabia::extractBic(fabia::fabia(m, p=5))
# getFabiaClusters(res, m)



tdrose/mosbi documentation built on May 4, 2022, 3:22 p.m.