createEventPlotting: Create plot for events

View source: R/analysis.R

createEventPlottingR Documentation

Create plot for events

Description

Create plot for events

Usage

createEventPlotting(
  df,
  x,
  y,
  params,
  highlightX,
  highlightY,
  highlightParams,
  selected,
  selectedParams,
  labelled,
  labelledParams,
  xlim,
  ylim
)

Arguments

df

Data frame

x

Character: name of the variable used for the X axis

y

Character: name of the variable used for the Y axis

params

List of parameters to pass to geom_point() related to most points

highlightX

Integer: region of points in X axis to highlight

highlightY

Integer: region of points in Y axis to highlight

highlightParams

List of parameters to pass to geom_point() related to highlighted points

selected

Integer: index of rows/points to be coloured

selectedParams

List of parameters to pass to geom_point() related to selected points

labelled

Integer: index of rows/points to be labelled

labelledParams

List of parameters to pass to ggrepel::geom_label_repel related to labelled points

xlim

Numeric: limits of X axis

ylim

Numeric: limits of Y axis

Value

List containing HTML elements and highlighted points


nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.