Skip to contents

calculate log-likilhood score of each gene based on reference expression profiles and return the centered score matrix

Usage

scoreGenesInRef(genes, ref_profiles, flag_center = TRUE)

Arguments

genes

a vector of gene name to score

ref_profiles

a gene X cell_type expression matrix for reference profiles

flag_center

flag to center the score matrix per gene before return, default = TRUE

Value

loglik, a gene X cell_type matrix of centered loglik score for each gene