This repository contains a Bash script that fixes output-DoseState.R
file output by RADDOSE-3D
.
-
Install Chromium:
- The script uses
dnf
to install Chromium on Fedora. - Ensures Chromium is in the PATH and accessible.
- The script uses
-
Instructions for Installing
webshot2
:- The script will install
webshot2
in R.
- The script will install
-
Modify the R Script:
- The script replaces
rgl.viewpoint
withview3d
. - And it also replaces
rgl.snapshot
withsnapshot3d
including thewidth
andheight
parameters.
- The script replaces
-
Run the R Script:
- The Bash script runs the modified R script.
-
Result:
- The generated images are saved in the working directory.
- Copy
fix.sh
to your working directory with the results fromRADDOSE-3D
- Make it executable
chmod +x fix.sh
- Run it with
./fix.sh
...
Hopefully you can see the images now.
Always check your contourlevels
. This works for b3x11
: contourlevels<- c(0.05, 0.50, 2.00) # MGy