plotMetricsViolin: Metric values as violin plot.

View source: R/metricsAnalysis.R

plotMetricsViolinR Documentation

Metric values as violin plot.

Description

It plots the value of the metrics in a SummarizedExperiment object as a violin plot.

Usage

plotMetricsViolin(data, nplots = 20)

Arguments

data

A SummarizedExperiment. The SummarizedExperiment must contain an assay with the following structure: A valid header with names. The first column of the header is the ID or name of the instance of the dataset (e.g., ontology, pathway, etc.) on which the metrics are measured. The other columns of the header contains the names of the metrics. The rows contains the measurements of the metrics for each instance in the dataset.

nplots

Positive integer. Number of metrics per violin plot. Default: 20.

Value

Nothing.

Examples

# Using example data from our package
data("ontMetrics")
plotMetricsViolin(ontMetrics)


neobernad/evaluomeR documentation built on Nov. 12, 2024, 11:29 p.m.