sagitalPlot: Plot sagital projections with interactive ROI reference lines

Description Usage Arguments Value Examples

View source: R/plot_methods.R

Description

Generates a 4 panel (hemisphere by surface [medial,lateral]) figure, where anatomical regions are color coded. The Shiny interface controls the slope, rotation, and position of a plane that is used to mark the posterior extent of the anterior temporal lobe (ATL) as a custom anatomical region of interest. Hovering over data points will update a panel containing the aparc.2009a+aseg code at that position.

Usage

1
sagitalPlot(d, atlas_wplane, input)

Arguments

d

Dataframe with yz coordinates, hemisphere codes, surface codes, and a value for each voxel projected onto the surfaces.

atlas_wplane

Dataframe that contains information about the posterior extent of the ATL in 3 dimensions.

input

Shiny input object containing information from control widgets.

Value

A 4-panel figure to render and display

Examples

1
2
3
4
5
6
## Not run: 
  output$sagitalPlot <- shiny::renderPlot({
    sagitalPlot(sagital_projection, reactiveA(),input)
  })

## End(Not run)

crcox/ShinyATLROI documentation built on May 14, 2019, 11:33 a.m.