Nathan's R genomics utility functions