Skip to contents

Compute sample correlation

Usage

compute_correlation(
  study,
  transform = c("vst", "log2-tpm"),
  method = c("pearson", "spearman")
)

Arguments

study

A rsemflow_study or study path.

transform

vst or log2-tpm.

method

pearson or spearman.

Value

A sample-by-sample correlation matrix.