To summarize multiple features, each is normalized to represent a Z-score. Scores are averaged to return a single vector.

multi_gene_z_score(cont_mat)

Arguments

cont_mat

A matrix() with spots as rows and 2 or more continuous variables as columns.

Value

A numeric() vector with one element per spot, summarizing the multiple continuous variables.

See also

Other functions for summarizing expression of multiple continuous variables simultaneously: multi_gene_pca(), multi_gene_sparsity()

Author

Nicholas J. Eagles