call_plot_function: Generates a plot from data

Description Usage Arguments Value

View source: R/flowR.R

Description

Generates a plot from data

Usage

1
call_plot_function(data, plot_type, plot_args = list())

Arguments

data

data.frame with plot data (as returned by get_plot_data)

plot_type

Name of the type of plot to generate. Available types are 'hexagonal', 'histogram', 'dots', 'contour' (for single cell data) and 'heatmap', 'bar', 'tile', 'pca' (for aggregated data). The plot function corresponding to a given plot type must have the same name as the plot type with the preffix 'plot_' (for instance 'plot_hexagonal()')

plot_args

list of arguments passed to the plot function

Value

a plot (plot class depends on the plot function)


VoisinneG/flowR documentation built on June 1, 2021, 6:42 p.m.