This function is called by `getDistMat`.
calculateDistMatOneModel(
matrix,
metadata,
verbose = TRUE,
method = "voom",
additional.variate = NULL
)
A similarity matrix
The count matrix. Rows are genes/features and columns are samples/cells.
Data frame. Its rows should correspond to columns of the `matrix` input.
Print the message and progress bar (default: TRUE)
Methods for DE analysis. Options: "voom" or "trend" (default)
additional variate to include into the linear model to regress out
Zhiyuan Hu
This function is called by getDistMat