Skip to contents

Performs Pearson residual transformation (proposed in Townes et al., 2019) and converts given raw gene count matrix into a continuous matrix with quantities analogous to z-scores and approximately follow a normal distribution.

Usage

pearson_residual_transform(count_mat)

Arguments

count_mat

A sample by gene numeric matrix that stores gene count values;

Value

A sample by gene numeric matrix that stores transformed Pearson residual values.