Category Archives: Uncategorized

Bio7 R 3.0.0 Update On Windows

06.04.2013

If you would like to use the latest R version 3.0.0 with Bio7 on Windows you have to install Rserve in an R 3.0.0 installation and adjust some Bio7 preferences to use this installation instead of the bundled R binary.

Install Rserve in R 3.0.0 e.g. with the command

> install.packages(“Rserve”)

Alternatively you can use the RGUI menu to search and install Rserve.
Then you have to tell Bio7 the path to the install location of R 3.0.0:
Menu Preferences->Preferences Bio7->Path To R (see example Screenshot below).prefr1

Finally you have to adjust the path of the package location the path were additional downloaded R packages will be installed (see Screenshot below) :
Menu Preferences->Preferences Bio7->Preferences RServe->Package install location
Type in the R console of your R 3.0.0 installation e.g.:

> .libPaths()

to get the current path for the Bio7 “Package install location”!

prefr2

If all paths are correct you can use the new R 3.0.0 installation from within Bio7.

Image Selections To R Improvements

01.03.2013

I finished a rework of the image selection transfer from ImageJ to R. I splitted the action into three different actions for a better usability.
A new feature of Bio7 1.7 is the possibility to transfer multiple pixel selections (with a fixed or an increasing signature) from selected slices of stacks.
The transferred data then can e.g. be used for a supervised classification method in R were you can add image data selections with a fixed signature (e.g. representing a plant species) to already transferred selections (e.g. increasing signatures – different plants species) to improve the classification results.
Thanks to the Roi Manager of ImageJ selections can easily be saved and reloaded for a nice workflow in conjunction with the transfer of  the data to R (simply drag and drop ROI files on the ImageJ-Canvas to load or add them).

In addition i had also to rework the Image-Methods view for a better grouping of the different actions (see temporary labels in the screenshot below) which hopefully gives a better usability.

stackselection

These are the last features (beside many others) for the next release and i hope that i can release the new version in a few weeks after some tests. If you have found some bugs in Bio7 1.6 don’t hesitate to contact me or write to the Bio7 forum.

Bio7 Windows/Linux 64-bit

16.01.2013
If you are using the Windows or Linux 64-bit version of Bio7 and often a freezing of the application occurs this could be related to a PermGen space error which occurs if the PermGen space of the running JVM of Bio7 is to low. The consequence is a Java.lang.OutOfMemoryError: PermGen space and the application is not responsive anymore. The solution is to increase the PermGen space in the Bio7.ini file (in the Bio7 installation folder beside the Bio7.exe or Bio7 start file).
Simply add or increase the following argument  to the Bio7.ini file:
-XX:MaxPermSize=256m (Default since Bio7 1.6!)
or:
-XX:MaxPermSize=512m
which increases the space if needed.

See:
http://javarevisited.blogspot.de/2011/09/javalangoutofmemoryerror-permgen-space.html
http://javarevisited.blogspot.de/2011/05/java-heap-space-memory-size-jvm.html