col_cluster_names: Get column names in each column cluster

Description Usage Arguments Value Examples

View source: R/col_cluster_names.R

Description

Get column names in each column cluster

Usage

1

Arguments

x

Biclustering object to extract column cluster designation from

data

Data that contains the column names

Value

A data frame with two columns: cluster corresponds to the column cluster and name gives the column names in each cluster.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data("synthetic")
rownames(synthetic) <- letters[1:nrow(synthetic)]
colnames(synthetic) <- letters[1:ncol(synthetic)]
bc <- biclustermd(synthetic, col_clusters = 3, row_clusters = 2,
                miss_val = mean(synthetic, na.rm = TRUE),
                miss_val_sd = sd(synthetic, na.rm = TRUE),
                col_min_num = 2, row_min_num = 2,
                col_num_to_move = 1, row_num_to_move = 1,
                max.iter = 10)
bc

Example output

Loading required package: ggplot2
Loading required package: tidyr

 Data has 72 values, 50% of which are missing
 5 Iterations
 Initial SSE = 2241; Final SSE = 0, a 100% reduction
 Rand similarity used; Indices: Columns (P) = 1, Rows (Q) = 1

biclustermd documentation built on June 17, 2021, 5:11 p.m.