sample_biclusters: Sample a list of biclusters.

sample_biclustersR Documentation

Sample a list of biclusters.

Description

The function generates a list of biclusters given an input list of biclusters, where each bicluster has the same number or rows and columns, but with sampled entries from a uniform distribution of all rows and columns is the matrix.

Usage

sample_biclusters(bics, mat)

Arguments

bics

A list of validated bicluster objects.

mat

The numeric matrix, that was used to generate the biclusters.

Value

A list of bicluster objects.

Examples

m <- matrix(seq(1:16), nrow=4)
# m <- matrix(rnorm(10000), nrow=100)
# bics <- c(run_fabia(m), run_isa(m), run_plaid(m))
# sample_biclusters(bics, m)


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