This function normalizes the data across cells, scales it and log transforms it

LogNormalize(M, scale = 10000, normalize = TRUE)

Arguments

M

a matrix of expression values for each gene (rows) and cell (columns)

scale

the scaling factor

normalize

a boolean whether to normalize the data

Value

a log normalized matrix of data