The fsbrain FAQ3 years ago
Input data | Q: What kind of input data do I need for fsbrain? | Q: Which file formats are supported? | Q: I want to load a single file that is somewhere on my harddisk, i.e., not within a standard recon-all output directory structure. How can I load it? | Q: Can I use fsbrain to visualize data from SPM12 / CAT12 or other software packages? | What is the best way to visualize data computed in R (or from arbitrary files that do not follow the FreeSurfer recon-all directory layout)? | Can I used fsbrain to visualize surface data from BrainSuite surfaces in DFS format? | Visualization | How can I set the output image resolution? | How can I save high quality figures to PNG images? | Can I save fsbrain figures as vector images (like PDF, EPS, SVG)? | A journal requires me to submit a vector graphics file, what to do? | When visualizing data with outliers and long tails, the colors are not helpful. What to do? | Can I limit the data range, including the min and max values displayed on the color bar? | How can I enforce fixed colorbar settings (i.e., one color should represent the same value) across several images? | How can I change the colormap for the plots? | What are the best colormaps for my data? | I am using a diverging colormap. When plotting the colorbar (legend), the neutral value is not at zero. How to fix it? | The colorbar shows only very few different colors, why is that and how can I change it? | Can I set a custom color for NA values in the plot, like the masked medial wall? | Can I get a color legend when plotting atlas regions from an annotation? I want to know the region names for the colors. | Can I get a color legend when plotting a segmentation/parcellation (different brain regions), based on a color lookup table (like the FreeSurferColorLUT.txt file)? | There is too much whitespace between the different views of the brain. How can I reduce it? | Can I export PNG images with transparent (instead of white) background? | When visualizing data on the inflated surface, the left and right hemisphere overlap and look garbled. How to fix that? | When plotting several views, can I have the subplots arranged in a horizontal strip (rather than 2x2 tiles)? | Various topics | Can I integrate the plots produced by fsbrain into an R Markdown document (the R equivalent of a Python Jupyter notebook)? | Can I use fsbrain to visualize arbitrary triangular meshes in R? | Technical problems | I am getting the error 'invalid value specified for graphical parameter plt', why? | I am getting the error 'Error in squash::cmap, found x values outside map range' | I am getting the warning 'RGL: unable to open X11 display' when loading fsbrain | How can I plot on a machine that does not have X11? | I am trying to plot a very large image with fsbrain, but the output is not as large as expected. Why? | What to do about the error 'lazy-load database is corrupt' when loading fsbrain? | I see no output image after running a vis function, and also get no error message. What to do?
