standard inverse cell frequency
idf(expr, features = NULL, thres = 0)
a matrix, features in row and cells in column
vector, feature names or indexes to compute
numeric, cell only counts when expr > threshold, default 0
a vector of inverse cell frequency score for each feature
$$\mathbf{IDF_i} = log(1+\frac{n}{n_i+1})$$ where \(n\) is the total number of cells, \(n_i\) is the number of cells containing feature i.