scaleDataWithStats {symphony} | R Documentation |
Scale data with given mean and standard deviations
Description
Scale data with given mean and standard deviations
Usage
scaleDataWithStats(A, mean_vec, sd_vec, margin = 1, thresh = 10)
Arguments
A |
expression matrix (genes by cells) |
mean_vec |
vector of mean values |
sd_vec |
vector of standard deviation values |
margin |
1 for row-wise calculation |
thresh |
threshold to clip max values |
Value
A matrix of scaled expression values.
[Package symphony version 0.1.1 Index]