Learn R Programming

CIDER (version 0.99.1)

calculateDistMatOneModel: Calculate distance matrix with in one model

Description

This function is called by `getDistMat`.

Usage

calculateDistMatOneModel(
  matrix,
  metadata,
  verbose = TRUE,
  method = "voom",
  additional.variate = NULL
)

Value

A similarity matrix

Arguments

matrix

The count matrix. Rows are genes/features and columns are samples/cells.

metadata

Data frame. Its rows should correspond to columns of the `matrix` input.

verbose

Print the message and progress bar (default: TRUE)

method

Methods for DE analysis. Options: "voom" or "trend" (default)

additional.variate

additional variate to include into the linear model to regress out

Author

Zhiyuan Hu

See Also

This function is called by getDistMat