Code

Code I have written.

Read ImageJ ROIs into R

The function read.ijroi() in this R file allows you to read ImageJ ROI files into R. It's possible to read in polygons, ovals, rectangles and lines, though not all features of the ROI format are implemented.

R Triangle package

As part of a data analysis project, I have ported Jonathan Shewchuk's Triangle library to R. From his description: "Triangle generates exact Delaunay triangulations, constrained Delaunay triangulations, conforming Delaunay triangulations, Voronoi diagrams, and high-quality triangular meshes.

HOC and NMODL Emacs modes for NEURON

Currently I've two useful resources for the Neuron simulator: a Neuron HOC mode for emacs and an NMODL mode for emacs. Their main features are syntax highlighting and syntax-based indentation. They've been tested under XEmacs 21.4 and Emacs 20.7.1. Andrew Gillies has also worked on this project.

Winnow

Winnow is a program that collects Journal Table of Contents alerts from PubMed and rates them according to their relevance. It was actually written mostly by George Chambers as part of his Computer Science undergraduate project.

Recovering corrupted MS Word documents

If you have a corrupted Microsoft Word document that even MS Word won't open, KWord for Linux may help you recover some of the information. Simply try opening the document in KWord, and you may find some of your text sandwiched between large amounts of junk characters. It probably won't be formatted, but it might be there at least.

Benford's law perl script

A Perl script to test whether Benford's law applies to your file space. Find out about the mathematically intriguing Benford's law in this article in Eric Weisstein's Encyclopaedia of Mathematics.

Italic small caps in times for LaTeX

Standard LaTeX does not provide italic small caps. For example,

\documentclass{article}
\usepackage{times}
\begin{document}
\textsc{Hello \emph{world}}
\end{document}
produces:

The times-itsc package provided here fixes this, to give:

To use the package:

Converting BBDB to evolution contacts

  1. Convert all your Big brother insidious database BBDB entries to vcard format using the bbdb-vcard-export.el package, typing M-x bbdb-vcard-export-update-all in emacs, and supplying and empty directory at the prompt, e.g ~/vcards
Syndicate content