split_matrix: splitting a matrix to a list by a margin according to a...

split_matrixR Documentation

splitting a matrix to a list by a margin according to a vector of groups

Description

splitting a matrix to a list by a margin according to a vector of groups

Usage

split_matrix(mat, vector, byrow = TRUE)

Arguments

mat

a numeric matrix

vector

a vector of groups labels

byrow

boolean. Whether to split by rows or columns


ebecht/cytoMerge documentation built on Sept. 9, 2024, 5:38 p.m.