sort_markers: Post-processing Selected Marker Genes

View source: R/sort_markers.R

sort_markersR Documentation

Post-processing Selected Marker Genes

Description

This function reorders the selected marker genes using information of the sample correlation matrix.

Usage

sort_markers(corr, markers)

Arguments

corr

The sample correlation matrix, whose row and column names are gene names.

markers

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.

Value

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().


markerpen documentation built on Dec. 14, 2025, 5:07 p.m.