check-scalar-hasMetrics: Does the object contain quality control metrics?

check-scalar-hasMetricsR Documentation

Does the object contain quality control metrics?

Description

Does the object contain quality control metrics?

Usage

hasMetrics(x, colData = c("nCount", "nFeature"))

Arguments

x

SummarizedExperiment.

colData

character. Column names in colData() containing expected quality control metrics.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2021-01-04.

Examples

if (requireNamespace("SummarizedExperiment", quietly = TRUE)) {
    data(RangedSummarizedExperiment, package = "AcidTest")
    x <- RangedSummarizedExperiment
    hasMetrics(x)
}

acidgenomics/goalie documentation built on Dec. 11, 2023, 11:36 p.m.