gather.biclustermd: Gather a biclustermd object

Description Usage Arguments Value Examples

View source: R/gather.biclustermd.R

Description

Gather a biclustermd object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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)

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