Learn R Programming

scregclust (version 0.2.0)

alloc_array: Allocate 3d-array and fill with matrix along first dimension

Description

Allocate 3d-array and fill with matrix along first dimension

Usage

alloc_array(input, n_cl)

Value

The allocated and filled array of size n_cl x n_obs x n_genes

Arguments

input

the matrix of size n_obs x n_genes

n_cl

the size of the three-dimensional array's first dimension