DatasetExperiment_boxplot {structToolbox} | R Documentation

## Feature distribution histogram

### Description

A boxplot to visualise the distribution of values within a subset of features.

### Usage

    DatasetExperiment_boxplot(
      factor_name,
      by_sample = TRUE,
      per_class = TRUE,
      number = 50,
      ...
    )

### Arguments

`factor_name` | (character) The name of a sample-meta column to use.
`by_sample` | (logical) Plot by sample. Allowed values are limited to the following: `"TRUE"`: The data is plotted across features for a subset of samples. `"FALSE"`: The data is plotted across samples for a subset of features. The default is `TRUE`.
`per_class` | (logical) Plot per class. Allowed values are limited to the following: `"TRUE"`: The data is plotted for each class. `"FALSE"`: The data is plotted for all samples. The default is `TRUE`.
`number` | (numeric, integer) The number of features/samples plotted. The default is `50`.
`...` | Additional slots and values passed to `struct_class`.

### Value

A `DatasetExperiment_boxplot` object.

struct object

### Examples

    D = MTBLS79_DatasetExperiment()
    C = DatasetExperiment_boxplot(factor_name='class',number=10,per_class=FALSE)
    chart_plot(C,D)

[Package structToolbox version 1.2.0 Index]