marker_list_to_matrix: Convert marker list to gene x cell type matrix

Description Usage Arguments Value

View source: R/annotation.R

Description

Convert marker list to gene x cell type matrix

Usage

1
marker_list_to_matrix(marker_list, known_genes, weighted = TRUE)

Arguments

marker_list

A named list (where names are cell types and values are genes).

known_genes

List of genes to include in the matrix, may contain genes that are absent from the marker lists, or omit genes that are present.

weighted

Boolean. If TRUE, all coefficients in the matrix are renormalized by marker set size, otherwise all coefficients are 1.

Value

A gene x cell type matrix containing marker sets.


gillislab/MetaMarkers documentation built on April 24, 2021, 9:25 p.m.