sort_markers: Post-processing Selected Marker Genes

Description Usage Arguments Value

View source: R/sort_markers.R

Description

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

Usage

1
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 March 17, 2021, 1:05 a.m.