cleanup the R code some, deal with empty values better
cleanup the R code some, deal with empty values better

hyphaltip/genome-scripts,hyphaltip/genome-scripts,hyphaltip/genome-scripts,hyphaltip/genome-scripts,hyphaltip/genome-scripts