Useful R scripts with RMAWGEN