Learn R Programming

markerpen (version 0.1.2)

sort_markers: 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)

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

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.