Visualizes the LMD score profiles for selected genes over time.

VisualizeScorePattern(
  score_profile,
  genes = NULL,
  label_class = NULL,
  facet_class = NULL,
  add_point = NULL,
  dyadic = TRUE,
  text = FALSE,
  normalize = FALSE
)

Arguments

score_profile

matrix; the LMD score profile, output of fast_get_lmds.

genes

vector; selected genes for visualization.

label_class

vector; gene class labels for visualizing genes in different colors. Default is NULL.

facet_class

vector; gene facet labels for visualizing genes in different panels. Default is NULL.

add_point

vector; time points to highlight. Default is NULL.

dyadic

logical; if TRUE, represents the axis text in a 2^ format. Default is TRUE.

text

logical; if TRUE, adds gene labels to each curve. Default is FALSE.

normalize

logical; if TRUE, normalizes the LMD profile by the plateau. Default is FALSE.

Value

A ggplot2 object representing the score patterns for the selected genes.