Throws warnings / error if matrix is in the wrong format

check_correct_datamatrix(datamatrix_single, sample_name = "")

Arguments

datamatrix_single

A sparse matrix

sample_name

Matrix sample name for warnings

Value

A sparseMatrix in the right rownames format