This function finds all instances of NA in e_data and replaces them with 0.
replace_nas(edata, edata_cname)
An updated e_data data frame where all instances of NA have been replaced with 0.
This function is used in the as.seqData functions to replace any NA values with 0s.