Skip to contents

Calculate cell type scores

Usage

hitype_score(exprs, gs, scaled = FALSE)

Arguments

exprs

Input scRNA-seq data matrix (rownames - gene names, colnames - cell names)

gs

The gene sets prepared by gs_prepare The gene_sets is used. One could also pass gs$gene_sets directly.

scaled

Whether the input data is scaled or not

Value

A list of matrices of cell type scores for each level (rownames - cell types, colnames - cell names)

Author

Matt Mulvahill, Panwen Wang