match_cl: Compute correlations of clusters to a reference set, and get...

View source: R/annotate.R

match_clR Documentation

Compute correlations of clusters to a reference set, and get the best-correlated reference clusters

Description

match_cl uses pearson correlation of cluster means.

Usage

match_cl(cl, dat, ref.cl, ref.cl.df, ref.dat, rename = TRUE)

Arguments

cl

A cluster factor object to compare to a reference

dat

a normalized data matrix for data to map to the reference

ref.cl

A cluster factor object for the reference clusters

ref.cl.df

A data.frame with reference cluster annotations that includes a "cluster_label" column

ref.dat

a reference normalized data matrix

rename

a logical indicating whether or not to rename the results.

#' @return a list with 3 objects:

  • cl

  • cl.df

  • cor


AllenInstitute/scrattch.hicat documentation built on June 6, 2024, 5:31 a.m.