appendSpecificityMetricsToDE: Append specificity metrics to DE

View source: R/diff_expression.R

appendSpecificityMetricsToDER Documentation

Append specificity metrics to DE

Description

Append specificity metrics to DE

Usage

appendSpecificityMetricsToDE(
  de.df,
  clusters,
  cluster.id,
  p2.counts,
  low.expression.threshold = 0,
  append.auc = FALSE
)

Arguments

de.df

data.frame of differential expression values

clusters

factor of clusters

cluster.id

names of 'clusters' factor. If a cluster.id doesn't exist in cluster names, an error is thrown.

p2.counts

counts from Pagoda2, refer to <https://github.com/kharchenkolab/pagoda2>

low.expression.threshold

numeric Threshold to remove expression values (default=0). Values under this threshold are discarded.

append.auc

boolean If TRUE, append AUC values (default=FALSE)

Value

data.frame of differential expression values with metrics attached


kharchenkolab/sccore documentation built on Feb. 26, 2024, 12:41 a.m.