neuro_vis {neuroimaGene} | R Documentation |
2D visualization plot of a neuroimaGene object
Description
Generates a 2D visualization plot of the neuroimaGene object. Neuroimaging regions are defined by the atlas parameter and colored according to the magnitude and direction of the aggregate effect from each gene in the NeuroimaGene object. Colors can be defined by the user.
Usage
neuro_vis(
ng_obj,
atlas = "Desikan",
lowcol = "darkred",
midcol = "white",
highcol = "blue4",
title = NA
)
Arguments
ng_obj |
NeuroimaGene object produced by neuroimaGene() function |
atlas |
desired atlas for visualization. Desikan (default) Subcortex, DKT, Destrieux. |
lowcol |
color for low end of Zscore spectrum. Default is dark red |
midcol |
color for middle of Zscore spectrum. Default is white |
highcol |
color for top end of Zscore spectrum. Default is blue4 |
title |
optional title tag for the plot |
Value
class: ggplot object depicting 2D visualization of the NIDPs from the neuroimaGene object portrayed on the brain and shaded by mean effect size.
Examples
gene_list <- c('TRIM35', 'PROSER3', 'EXOSC6', 'PICK1', 'UPK1A', 'ESPNL', 'ZIC4')
ng <- neuroimaGene(gene_list, atlas = NA, mtc = 'BH', vignette = TRUE)
neuro_vis(ng, atlas = 'DKT')
[Package neuroimaGene version 0.1.0 Index]