The functions turns NULL or NA into character "NA"
null2na(x)
x
Either the original vector (if not NULL or logical NA) or character NA
Tony Chiang <tchiang@ebi.ac.uk>
null2na(NA) null2na(NULL)