inverse average expression using standard deviation (SD)
iae_sd(expr, features = NULL, log = FALSE, thres = 0)
a matrix, features in row and cells in column
vector, feature names or indexes to compute
logical, if to do log-transformation
numeric, cell only counts when expr > threshold, default 0
a vector of inverse average expression score for each feature
$$\mathbf{IAE} = log(1+sd(tf_{i})*\frac{n}{\sum_{j=1}^{n}max(0,N_{i,j})+1})$$
where \(tf_i\) is the term frequency of feature \(i\), see details in
tf()
, \(n\) is the total number of cells and \(N_{i,j}\) is the counts
of feature \(i\) in cell \(j\).