R: Append specificity metrics to DE

appendSpecificityMetricsToDE {sccore} | R 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

[Package sccore version 1.0.1 Index]