Package: ggseg 1.6.6

Athanasia Mo Mowinckel

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:Athanasia Mo Mowinckel [aut, cre], Didac Vidal-Piñeiro [aut], Ramiro Magno [aut]

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://lifebrain.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ggseg/ggseg/issues

Datasets:
  • aseg - Freesurfer automatic subcortical segmentation of a brain volume
  • dk - Desikan-Killiany Cortical Atlas

On CRAN:

11.52 score 215 stars 14 packages 538 scripts 687 downloads 9 mentions 35 exports 47 dependencies

Last updated 2 years agofrom:e2ad8b4ba1. Checks:OK: 1 NOTE: 6. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winNOTENov 20 2024
R-4.3-macNOTENov 20 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.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-08-13
Started: 2018-09-03

Read in files from FreeSurfer

Rendered fromfreesurfer_files.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-08-10
Started: 2020-03-04

Using geom_brain

Rendered fromggseg.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2022-06-13
Started: 2018-08-30

Readme and manuals

Help Manual

Help pageTopics
Scale ggseg plot axes.adapt_scales
Create brain atlasas_brain_atlas
Create ggseg atlasas_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 volumeaseg
Constructor for brain atlasbrain_atlas
Join atlas and databrain_join
Extract unique labels of brain regionsbrain_labels brain_labels.brain_atlas brain_labels.ggseg_atlas
Generate palettes from the ggseg atlasesbrain_pal
Get info on brain palettesbrain_pals_info
Extract unique names of brain regionsbrain_regions brain_regions.brain_atlas brain_regions.data.frame brain_regions.ggseg_atlas
Desikan-Killiany Cortical Atlasdk
Brain geomGeomBrain geom_brain
`ggseg_atlas` classggseg_atlas
Validate brain atlasis_brain_atlas
Validate ggseg_atlasis_ggseg_atlas
Alter brain atlas positionposition_brain
Read in atlas data from all subjectsread_atlas_files
Read in raw FreeSurfer stats fileread_freesurfer_stats
Read in stats table from FreeSurferread_freesurfer_table
Reposition brain slicesreposition_brain
Colour and fill scales from the ggseg atlasesscale_brain scale_color_brain scale_colour_brain scale_fill_brain
Colour and fill scales from the ggseg atlasesscale_brain2 scale_color_brain2 scale_colour_brain2 scale_fill_brain2
Axis and label scales from the ggseg atlasesscale_continous_brain scale_labs_brain scale_x_brain scale_y_brain
ggseg plot themetheme_brain theme_brain2 theme_custombrain theme_darkbrain