Package: ggseg 1.6.6
![](https://github.com/ggseg/ggseg/raw/HEAD/logo.png)
ggseg: Plotting Tool for Brain Atlases
Contains 'ggplot2' geom for plotting brain atlases using simple features. The largest component of the package is the data for the two built-in atlases. Mowinckel & Vidal-Piñeiro (2020) <doi:10.1177/2515245920928009>.
Authors:
ggseg_1.6.6.tar.gz
ggseg_1.6.6.zip(r-4.5)ggseg_1.6.6.zip(r-4.4)ggseg_1.6.6.zip(r-4.3)
ggseg_1.6.6.tgz(r-4.4-any)ggseg_1.6.6.tgz(r-4.3-any)
ggseg_1.6.6.tar.gz(r-4.5-noble)ggseg_1.6.6.tar.gz(r-4.4-noble)
ggseg_1.6.6.tgz(r-4.4-emscripten)ggseg_1.6.6.tgz(r-4.3-emscripten)
ggseg.pdf |ggseg.html✨
ggseg/json (API)
NEWS
# Install 'ggseg' in R: |
install.packages('ggseg', repos = c('https://ggseg.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ggseg/ggseg/issues
Last updated 1 years agofrom:e2ad8b4ba1. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 22 2024 |
R-4.5-win | NOTE | Aug 22 2024 |
R-4.5-linux | NOTE | Aug 22 2024 |
R-4.4-win | NOTE | Aug 22 2024 |
R-4.4-mac | NOTE | Aug 22 2024 |
R-4.3-win | NOTE | Aug 22 2024 |
R-4.3-mac | NOTE | Aug 22 2024 |
Exports:as_brain_atlasas_ggseg_atlasbrain_atlasbrain_joinbrain_labelsbrain_palbrain_pals_infobrain_regionsgeom_brainGeomBrainggsegggseg_atlasis_brain_atlasis_ggseg_atlasposition_brainread_atlas_filesread_freesurfer_statsread_freesurfer_tablereposition_brainscale_brainscale_brain2scale_color_brainscale_color_brain2scale_colour_brainscale_colour_brain2scale_continous_brainscale_fill_brainscale_fill_brain2scale_labs_brainscale_x_brainscale_y_braintheme_braintheme_brain2theme_custombraintheme_darkbrain
Dependencies:classclassIntclicolorspacecpp11DBIdplyre1071fansifarvergenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigproxypurrrR6RColorBrewerRcpprlangs2scalessfstringistringrtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk
Adding external data to ggseg plotting
Rendered fromexternalData.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2021-08-13
Started: 2018-09-03
Read in files from FreeSurfer
Rendered fromfreesurfer_files.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2021-08-10
Started: 2020-03-04
Using geom_brain
Rendered fromggseg.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2022-06-13
Started: 2018-08-30
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Scale ggseg plot axes. | adapt_scales |
Create brain atlas | as_brain_atlas |
Create ggseg atlas | as_ggseg_atlas as_ggseg_atlas.brain_atlas as_ggseg_atlas.data.frame as_ggseg_atlas.default as_ggseg_atlas.ggseg_atlas |
Freesurfer automatic subcortical segmentation of a brain volume | aseg |
Constructor for brain atlas | brain_atlas |
Join atlas and data | brain_join |
Extract unique labels of brain regions | brain_labels brain_labels.brain_atlas brain_labels.ggseg_atlas |
Generate palettes from the ggseg atlases | brain_pal |
Get info on brain palettes | brain_pals_info |
Extract unique names of brain regions | brain_regions brain_regions.brain_atlas brain_regions.data.frame brain_regions.ggseg_atlas |
Desikan-Killiany Cortical Atlas | dk |
Brain geom | GeomBrain geom_brain |
`ggseg_atlas` class | ggseg_atlas |
Validate brain atlas | is_brain_atlas |
Validate ggseg_atlas | is_ggseg_atlas |
Alter brain atlas position | position_brain |
Read in atlas data from all subjects | read_atlas_files |
Read in raw FreeSurfer stats file | read_freesurfer_stats |
Read in stats table from FreeSurfer | read_freesurfer_table |
Reposition brain slices | reposition_brain |
Colour and fill scales from the ggseg atlases | scale_brain scale_color_brain scale_colour_brain scale_fill_brain |
Colour and fill scales from the ggseg atlases | scale_brain2 scale_color_brain2 scale_colour_brain2 scale_fill_brain2 |
Axis and label scales from the ggseg atlases | scale_continous_brain scale_labs_brain scale_x_brain scale_y_brain |
ggseg plot theme | theme_brain theme_brain2 theme_custombrain theme_darkbrain |