split_data.matrix: Split data matrix into smaller sub-matrices ('chunks')

View source: R/HelperFunctions.R

split_data.matrixR Documentation

Split data matrix into smaller sub-matrices ('chunks')

Description

Split data matrix into smaller sub-matrices ('chunks')

Usage

split_data.matrix(matrix, chunk.size = 100)

Arguments

matrix

Input data matrix

chunk.size

How many cells to include in each sub-matrix

Value

A list of sub-matrices, each with size (n_features x chunk_size)


carmonalab/UCell documentation built on Nov. 4, 2024, 5:32 p.m.