set_bicluster_names-bicluster-matrix-method: Add row-/colnames to a bicluster object.

set_bicluster_names,bicluster,matrix-methodR Documentation

Add row-/colnames to a bicluster object.

Description

Add row-/colnames to a bicluster object.

Usage

## S4 method for signature 'bicluster,matrix'
set_bicluster_names(bic, m)

Arguments

bic

A bicluster object.

m

The matrix, that was used for the biclustering. (Works only if matrix has row-/colnames.)

Value

The updated bicluster object.

#' @examples m <- matrix(c(1,2,3,4), nrow=2) rownames(m) <- c("r1", "r2") rownames(m) <- c("c1", "c2") set_bicluster_names(bicluster(row=c(1,2), column=c(1,2)), m)


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