plot_injection_order: injection order scatterplot

View source: R/visualization.R

plot_injection_orderR Documentation

injection order scatterplot

Description

Injection order scatterplot. The '@sampleData' should be sorted by injection order, with a new column 'ID' from 1 to N.

Usage

plot_injection_order(
  object,
  color = "NEG",
  shape = "NEG",
  size = 0.6,
  ID_order = "ID_injection_order",
  feature_name = NULL,
  random_select = 16
)

Arguments

object

A Metabolite object.

color

A column in '@sampleData' to show the color of points.

shape

A column in '@sampleData' to show the shape of points.

size

Point size.

ID_order

Injection ID order in the '@sampleData'.

feature_name

A vector of selected metabolites to plot. If NULL, will randomly select 16 (default) metabolites to plot.

random_select

An integer, number of randomly selected metabolites to plot.

Value

A scatterplot.


XikunHan/metabolomicsR documentation built on Feb. 7, 2024, 1:17 p.m.