This function reorders the selected marker genes using information of the sample correlation matrix.
sort_markers(corr, markers)A list that has the same structure as the input markers argument, with
the elements in each component reordered. See the example in
refine_markers().
The sample correlation matrix, whose row and column names are gene names.
A list of marker genes. Each component of the list is a vector of marker
gene names corresponding to a cell type. All the gene names in this list
must appear in the row/column names of corr.