plotClusterLog10 {doblin}R Documentation

Plot individual barcode frequencies (log10) for a single cluster

Description

Plots all barcodes in a cluster on a log10 y-scale, along with the LOESS-smoothed average trajectory.

Usage

plotClusterLog10(
  df,
  cluster,
  color,
  tf,
  effective.breaks,
  output_directory,
  input_name
)

Arguments

df

A dataframe containing barcode frequencies in a single cluster.

cluster

The cluster ID (numeric or character).

color

A color code to use for the cluster.

tf

A dataframe containing the LOESS-smoothed trajectory for the cluster.

effective.breaks

A vector of time points used as breaks on the x-axis.

output_directory

A string specifying the directory where plots will be saved.

input_name

A string used as the base name for output files (e.g., "replicate1").

Value

A ggplot object showing the log10-transformed barcode frequencies and the LOESS-smoothed average trajectory for a single cluster.


[Package doblin version 0.1.1 Index]