gather.biclustermd {biclustermd}R Documentation

Gather a biclustermd object

Description

Gather a biclustermd object

Usage

## S3 method for class 'biclustermd'
gather(
  data,
  key = NULL,
  value = NULL,
  ...,
  na.rm = FALSE,
  convert = FALSE,
  factor_key = FALSE
)

Arguments

data

a biclustermd object to gather.

key

unused; included for consistency with tidyr generic

value

unused; included for consistency with tidyr generic

...

unused; included for consistency with tidyr generic

na.rm

unused; included for consistency with tidyr generic

convert

unused; included for consistency with tidyr generic

factor_key

unused; included for consistency with tidyr generic

Value

A data frame containing the row names and column names of both the two-way table of data biclustered and the cell-average matrix.

Examples

data("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)
gather(bc)

# bicluster 6 is in the top right-hand corner here:
autoplot(bc)

# bicluster 3 is in the bottom right-hand corner here:
autoplot(bc)


[Package biclustermd version 0.2.3 Index]