Reorganize multi-modal data after import with Read10X()
or scCustomize read functions.
Organizes sub-lists by data modality instead of by sample.
Extract_Modality(matrix_list)
list of matrices to split by modality
list of lists, with one sublist per data modality. Sub-list contain 1 matrix entry per sample
if (FALSE) {
multi_mat <- Read10X(...)
new_multi_mat <- Extract_Modality(matrix_list = multi_mat)
}