| annotate_coordinates | Adds the coordinate labels to each panel based on the... |
| annotate_slice | Adds custom annotations to a single panel on the ggbrain plot |
| center_matrix | helper function to center a numeric matrix within a (larger)... |
| contrast_parser | helper function to calculate contrasts of one or more images... |
| count_neighbors | This function counts the number of neighboring/touching... |
| define | Adds contrast definitions to the ggbrain plot |
| df2mat | Convert a 3-column data.frame (dim1, dim2, value) to a 2-D... |
| fill_from_edge | This function finds holes by flood filling TRUE into a 2D... |
| find_threads | This function finds 'threads' hanging off of the edges of... |
| flood_fill | This function flood fills a binary image with TRUE for any... |
| geom_brain | Adds a raster layer to the ggbrain plot, displaying pixels... |
| geom_outline | Adds an outline layer to the ggbrain plot, displaying... |
| geom_region_label | Variant of geom_label used for plotting region labels on... |
| geom_region_label_repel | Variant of geom_label_repel used for plotting region labels... |
| geom_region_text | Variant of geom_text used for plotting region labels on... |
| geom_region_text_repel | Variant of geom_text_repel used for plotting region labels on... |
| ggb | Generic R6 base class that is used to support + semantics |
| ggbrain | create ggb container object for a given plot |
| ggbrain_images | R6 class for compiling images to render in ggplot |
| ggbrain_label | R6 class for adding labels to a ggbrain_panel |
| ggbrain_layer | R6 class for a single layer of a ggbrain panel |
| ggbrain_layer_brain | R6 class for a single layer of a ggbrain panel using fill... |
| ggbrain_layer_outline | R6 class for a single layer of a ggbrain panel using outline... |
| ggbrain_panel | R6 class for a single panel of a ggbrain image |
| ggbrain_plot | An R6 class for constructing a ggbrain plot from a... |
| ggbrain_slices | R6 class for managing slice data for ggbrain plots |
| ggplot_add.ggbrain_label | S3 method to support adding ggbrain_label objects to an... |
| ggplot_add.ggbrain_layer | S3 method to support adding ggbrain_layer objects to an... |
| ggplot_add.ggbrain_panel | S3 method to support adding ggbrain_layer objects to an... |
| images | Add images to a ggbrain object |
| integer_breaks | breaks function to encourage integer-valued breaks, based on... |
| integer_mode | Finds the mode of an integer vector |
| mat2df | Fast conversion of 2D mat to 3-column data.frame with dim1,... |
| montage | Convenience function to add many slices in a montage along... |
| named_list | little helper function to create named list from objects |
| nearest_pts | Finds the nearest non-missing neighbors of a target point in... |
| nn_impute | Imputes missing values in a 2D matrix based on the nearest... |
| plot.ggb | S3 method to allow for plot(x) syntax with ggbrain (ggb)... |
| plot.ggbrain_panel | S3 method to allow for plot() syntax with ggbrain_panel... |
| plot.ggbrain_patchwork | S3 method to allow for plot() syntax with rendered ggbrain... |
| plot.ggbrain_plot | S3 method to allow for plot() syntax with ggbrain_panel... |
| plus-.ggb | addition operator for ggb object to support ggplot-like... |
| plus-.ggbrain_images | summary S3 method for ggbrain_images objects addition... |
| range_breaks | breaks function for including min + max with labels, and a... |
| render | Function to convert 'ggb' object to ggplot/patchwork object |
| render.ggb | S3 method to allow for render(x) syntax with ggbrain (ggb)... |
| scale_fill_bisided | scale for plotting separate color gradients for positive and... |
| slices | Adds slices to the ggbrain plot, including additional panel... |
| sort_mat | Sort Matrix by Column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.