Does the object contain quality control metrics?
Source:R/check-scalar-hasMetrics.R
check-scalar-hasMetrics.Rd
Does the object contain quality control metrics?
Usage
hasMetrics(x, colData = c("nCount", "nFeature"))
Arguments
- x
SummarizedExperiment
.- colData
character
. Column names incolData()
containing expected quality control metrics.
Examples
if (requireNamespace("SummarizedExperiment", quietly = TRUE)) {
data(RangedSummarizedExperiment, package = "AcidTest")
x <- RangedSummarizedExperiment
hasMetrics(x)
}
#> [1] FALSE