sort_markers {markerpen}R 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().


[Package markerpen version 0.1.1 Index]