colMeanZscores: Mean Z-score Gene Signature

View source: R/utils.R

colMeanZscoresR Documentation

Mean Z-score Gene Signature

Description

[Experimental]

This helper function returns the Z-score from an assay stored as a matrix.

Usage

colMeanZscores(x)

Arguments

x

(matrix)
containing numeric data with genes in rows and samples in columns, no missing values are allowed.

Value

A numeric vector containing the mean Z-score values for each column in x.

Examples

object <- hermes_data %>%
  add_quality_flags() %>%
  filter() %>%
  normalize() %>%
  assay("counts")

colMeanZscores(object)

insightsengineering/hermes documentation built on Sept. 19, 2024, 9:06 p.m.