haneschPlot: Plot a hanesch type plot based on a summary of ROI...

Description Usage Arguments

View source: R/plotting.R

Description

Plot a hanesch type plot based on a summary of ROI innervation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
haneschPlot(
  roiTable,
  roiSelect = selectRoiSet(getRoiTree()),
  grouping = NULL,
  flip = FALSE,
  alphaRois = 0.15,
  roiLabel = selectRoiSet(getRoiTree(), default_level = 0),
  regionOutlines = TRUE,
  theme = theme_minimal(),
  interactive = FALSE,
  showCount = FALSE
)

Arguments

roiTable

A table of ROI innervation, as generated by getROISummary

roiSelect

A selection of ROIs table, as generated by selectRoiSet

grouping

A string of grouping variable(s) of roiTable to facet the plot on. Will usually be one of the supertype columns

flip

Flip the x/y axis? If TRUE, types will be on the bottom axis and ROIs on the side axis

alphaRois

The alpha of the color rectangles coding the ROIs

roiLabel

A selection of ROIs, as generated by selectRoiSet to be used for the ROI color guide

regionOutlines

Whether or not to add the ROI color code

theme

Theme to be passed to ggplot2

interactive

Whether or not to use some interactivity from ggiraph

showCount

Whether or not to print the number of instances in the type in the tick labels


jayaraman-lab/neuprintrExtra documentation built on Dec. 20, 2021, 10 p.m.