Skip to content

Brain Examples

KenWWW edited this page Jul 16, 2023 · 7 revisions

Here we provide several examples of brainmap plots using the default or customized method

  • Default: Run the plot-brainmap command from the Makefile. This serves as a quick and easy option to test out and produce brain map drafts for 247. It chooses default colorscale options based on the effect argument.

    • Default Colors

      • "#ff0000" or "255,0,0" color
      • "#ffff00" or "255,255,0" color
      • "#0000ff" or "0,0,255" color
      • "#fff8f0" or "255,248,250" color
      • "#f0f8ff" or "240,248,255" color
    • For max or mean correlation, the colorscale titled correlation goes from color to color

    • For max correlation differences, the colorscale titled Δ corr pos goes from color to color for positive values, the colorscale titled Δ corr neg goes from color to color for negative values

    • For area under the curve differences, the colorscale titled area pos goes from color to color for positive values, the colorscale titled area neg goes from color to color for negative values

  • Subjects: Run the plot-brainmap-subjects command from the Makefile. See more in examples.

  • Customized: Call the brainmap functions from our own script. This offers more freedom as we can provide self-defined colorscales and effect value ranges. However, we will have to write our own code for aggregating encoding results. We can call four different functions make_brainmap, make_brainmap_cat (higher level) and plot_brainmap, plot_brainmap_cat (lower level). More explanations and examples in tfsbrainmap.ipynb

Clone this wiki locally