createEventPlotting: Create plot for events

Description Usage Arguments Value

View source: R/analysis.R

Description

Create plot for events

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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


psichomics documentation built on Nov. 8, 2020, 5:44 p.m.