mv_histogram: Missing value histogram

View source: R/dataset_chart_classes.R

mv_histogramR Documentation

Missing value histogram

Description

A histogram of the numbers of missing values per sample/feature

Usage

mv_histogram(label_outliers = TRUE, by_sample = TRUE, ...)

Arguments

label_outliers

(logical) Label outliers. Allowed values are limited to the following:

  • "TRUE": Sample labels for potential outliers are displayed on the plot.

  • "FALSE": Sample labels are not included on the plot.

The default is TRUE.

by_sample

(logical) Plot by sample or by feature. Allowed values are limited to the following:

  • "TRUE": Missing values are plotted per sample.

  • "FALSE": Missing values are plotted per feature.

The default is TRUE.

...

additional slots and values passed to struct_class

Value

A mv_histogram object. This object has no output slots. See chart_plot in the struct package to plot this chart object.

struct object

Inheritance

A mv_histogram object inherits the following struct classes:

⁠[mv_histogram]⁠ >> ⁠[chart]⁠ >> ⁠[struct_class]⁠

Examples

M = mv_histogram(
      label_outliers = FALSE,
      by_sample = FALSE)

D = MTBLS79_DatasetExperiment()
C = mv_histogram(label_outliers=FALSE,by_sample=FALSE)
chart_plot(C,D)


computational-metabolomics/structToolbox documentation built on July 5, 2024, 12:18 p.m.