metrics | R Documentation |
Quality control metrics
metrics(object, ...)
## S4 method for signature 'SummarizedExperiment'
metrics(object)
object |
Object. |
... |
Additional arguments. |
metrics()
takes data stored in colData()
and consistently returns a
DFrame
with sampleName
and interestingGroups
columns, even when these
columns are not defined in colData()
. This is designed to integrate with
plotting functions that use ggplot2 internally.
Column names are always returned formatted in strict lower camel case.
This function will error intentionally if no numeric columns are defined
in colData()
.
DFrame
.
metrics(SummarizedExperiment)
: Sample-level metrics.
Updated 2022-05-04.
Michael Steinbaugh, Rory Kirchner
data(RangedSummarizedExperiment, package = "AcidTest")
## SummarizedExperiment ====
object <- RangedSummarizedExperiment
object <- calculateMetrics(object)
x <- metrics(object)
print(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.