rand_mat {InteractiveComplexHeatmap} | R Documentation

## A random matrix

### Description

A random matrix

### Usage

    data(rand_mat)

### Details

Following code was used to generate `rand_mat`:

      set.seed(123)
      rand_mat = cbind(rbind(matrix(rnorm(20*20, mean = 1, sd = 0.5), nr = 20),
                      matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20),
                      matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20)),
                rbind(matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20),
                      matrix(rnorm(20*20, mean = 1, sd = 0.5), nr = 20),
                      matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20)),
                rbind(matrix(rnorm(20*20, mean = 0.5, sd = 0.5), nr = 20),
                      matrix(rnorm(20*20, mean = 0.5, sd = 0.5), nr = 20),
                      matrix(rnorm(20*20, mean = 1, sd = 0.5), nr = 20))
               ) + matrix(rnorm(60*60, sd = 0.5), nr = 60)
       colnames(rand_mat) = paste0("C", 1:60)
       rownames(rand_mat) = paste0("R", 1:60)

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    data(rand_mat)
    rand_mat

[Package InteractiveComplexHeatmap version 1.0.0 Index]