plot_2D_scatter_plots: Plot 2D scatter plots

View source: R/plotting_functions.R

plot_2D_scatter_plotsR Documentation

Plot 2D scatter plots

Description

Plots biaxial plots

Usage

plot_2D_scatter_plots(
  fcs_files,
  markers_to_plot,
  y_marker,
  out_dir = NULL,
  out_put_name = "marker_plots.png"
)

Arguments

fcs_files

Character, pathway to fcs files.

markers_to_plot

Character, pattern of the markers to be plotted e.g. "CD" (all CD markers will be plotted), "CD41$" (only CD41 will be plotted).

y_marker

Character, The marker to be plotted on the y-axis.

out_dir

Character, path where fill are saved, if NULL (default) files are saved in getwd()

out_put_name

The name of the file that is saved in out_dir, default is "marker_plots.png".

Value

Save plots in out_dir.

Examples

plot_2D_scatter_plots(fcs_files = fcs_files,
                      markers_to_plot = c("CD", "HLA"),
                      y_marker = "CD45$",
                      out_dir = getwd(),
                      out_put_name = "marker_plots.png")



prybakowska/CytoQP documentation built on June 28, 2022, 12:36 a.m.