fast normalize and/or scale expresion values of Giotto object
giotto object
normalization method to use
normalize cells by library size
scale factor to use after library size normalization
transform values to log-scale
offset value to add to expression matrix, default = 1
log base to use to log normalize expression values
z-score genes over all cells
z-score cells over all genes
order to scale genes and cells
be verbose
giotto object
Currently there are two 'methods' to normalize your raw counts data.
A. The standard method follows the standard protocol which can be adjusted using
the provided parameters and follows the following order:
1. Data normalization for total library size and scaling by a custom scale-factor.
2. Log transformation of data.
3. Z-scoring of data by genes and/or cells.
B. The normalization method as provided by the osmFISH paper is also implemented:
1. First normalize genes, for each gene divide the counts by the total gene count and multiply by the total number of genes.
2. Next normalize cells, for each cell divide the normalized gene counts by the total counts per cell and multiply by the total number of cells.
This data will be saved in the Giotto slot for custom expression.
data(mini_giotto_single_cell)
norm_gobject = normalizeGiotto(mini_giotto_single_cell)