zscore: Compute Z-score

View source: R/zscore.R

zscoreR Documentation

Compute Z-score

Description

Transform gene expression into a scaled score, either using all cells or a subset of cells as baseline.

Usage

zscore(ge_df, wins_th = 3, method = c("z", "norm"), normals = NULL)

Arguments

ge_df

the input expression data.frame

wins_th

the threshold to winsorize Z-score. Default is 3

method

the normalization method. Either 'z' or norm'.

normals

the cells to use as normals. If NULL (default) all cells are used as normals

Value

a data.frame with Z-scores.

Author(s)

Jean Monlong


jmonlong/scCNAutils documentation built on May 3, 2022, 4:34 a.m.