Skip to content

output-DoseState.R from raddose-3d does not work anymore. Here is a quick fix.

Notifications You must be signed in to change notification settings

mysecondnameisdanger/fixing-raddose-3d-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

This repository contains a Bash script that fixes output-DoseState.R file output by RADDOSE-3D.

Steps

  1. Install Chromium:

    • The script uses dnf to install Chromium on Fedora.
    • Ensures Chromium is in the PATH and accessible.
  2. Instructions for Installing webshot2:

    • The script will install webshot2 in R.
  3. Modify the R Script:

    • The script replaces rgl.viewpoint with view3d.
    • And it also replaces rgl.snapshot with snapshot3d including the width and height parameters.
  4. Run the R Script:

    • The Bash script runs the modified R script.
  5. Result:

    • The generated images are saved in the working directory.

Usage

  1. Copy fix.sh to your working directory with the results from RADDOSE-3D
  2. Make it executable chmod +x fix.sh
  3. Run it with ./fix.sh...

Hopefully you can see the images now.

Advice

Always check your contourlevels. This works for b3x11: contourlevels<- c(0.05, 0.50, 2.00) # MGy

About

output-DoseState.R from raddose-3d does not work anymore. Here is a quick fix.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages