evaluateNorm {pipeComp} | R Documentation

## evaluateNorm

### Description

evaluateNorm

### Usage

    evaluateNorm(x, clusters = NULL, covars)

### Arguments

`x` | An object of class 'Seurat' or 'SingleCellExperiment' with normalized data
`clusters` | A vector of true cluster identities. If missing, will attempt to fetch it from the 'phenoid' colData.
`covars` | Covariates to include, either as data.frame or as colData columns of 'x'

### Value

a data.frame.

### Examples

    # random data
    library(scater)
    sce <- logNormCounts(mockSCE(ngenes = 500))
    sce <- addPerCellQC(sce)
    # random population labels
    sce$cluster <- sample(LETTERS[1:3], ncol(sce), replace=TRUE)
    evaluateNorm(sce, sce$cluster, covars="detected")

[Package pipeComp version 1.0.0 Index]