plot_difference_maps: Difference Plots for 9 ROI

View source: R/plot_difference_maps.R

plot_difference_mapsR Documentation

Difference Plots for 9 ROI

Description

This function creates a plot file with 9 electrodes of interests displaying ERPs for different conditions. It will need a loaded dataframe with your EEG data and a column indicating the condition to display. It assumes that there is a column named Voltage with your voltage values. Default values are provided for electrodes but it can be customized.

Usage

plot_difference_maps(
  data,
  plotname = "auto",
  conditionToPlot = MM_RAW,
  levelA = semMM_RAW,
  levelB = consistent,
  output_type = "pdf",
  vary = Voltage,
  group_var = Subject,
  topoplots_data = "voltage_difference",
  topoplots_time_windows = list(c(-250, -150), c(-150, 50), c(50, 200), c(200, 300),
    c(300, 500), c(500, 700), c(700, 900)),
  topoplots_scale = c(-2, 2),
  t_test_threshold = 0.05
)

Arguments

conditionToPlot

column of the dataframe with the condition to plot

file

dataframe containing

Value

A PDF file containing the Difference plots by region


aherbay/erpscope documentation built on Feb. 1, 2024, 7:56 p.m.