predict_annotate_cor: Predict annotations by cluster correlation

View source: R/annotate.R

predict_annotate_corR Documentation

Predict annotations by cluster correlation

Description

This function performs map_by_cor(), then compare_annotate().

Usage

predict_annotate_cor(
  cl,
  norm.dat,
  ref.markers,
  ref.cl,
  ref.cl.df,
  ref.norm.dat,
  method = "median",
  reorder = TRUE
)

Arguments

cl

a cluster factor object for data to map to the reference

norm.dat

a normalized data matrix for data to map to the reference

ref.markers

a set of reference marker genes

ref.cl

a reference cluster factor object

ref.cl.df

a reference cl.df data.frame that describes the reference clusters

ref.norm.dat

a reference normalized data matrix

method

"median" or "mean". Default is "median".

reorder

Whether or not to reorder the input clusters based on the reference.

Value

a list object with annotation results


AllenInstitute/scrattch.hicat documentation built on Oct. 20, 2023, 6:55 a.m.