plot_boxplot: Make a boxplot of a feature

Description Usage Arguments Author(s)

View source: R/Methods-plot.R

Description

This function uses the ggplot2 package to generate a boxplot from a givin mSet-class object by specifying a feature id. The feature id must come from the feature names

Usage

1
2
plot_boxplot(object, x, feature, rows = NULL, cols = NULL,
  line = NULL, color = NULL, ...)

Arguments

object

An mSet-class object

x

A character string indicating the x variable. Must be one of the sample data variables.

feature

A character indicating the feature name to plot. Must be one of the feature names.

rows

A character string indicating the variable defines faceting groups on columns. Must be one of the sample data variables.

cols

A character string indicating the variable defines faceting groups on columns. Must be one of the sample data variables.

line

A character string indicating the variable used to draw lines between points. Must be one of the sample data variables.

color

A character string indicating the variable defines the color of lines or points. Must be one of the sample data variables.

...

Other arguments see ggboxplot

Author(s)

Chenghao Zhu


zhuchcn/Metabase documentation built on July 23, 2019, 1:36 p.m.