calculateDistMatOneModel {CIDER}R Documentation

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
)

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

Value

A similarity matrix

Author(s)

Zhiyuan Hu

See Also

This function is called by getDistMat


[Package CIDER version 0.99.0 Index]