correlation report dir fix

Added render functions into correlation report script. For now I just exported the correlation table to output_dir since it's just one table for all.
since this is a general utility function, can you add a short comment? just what it does, what it returns and what parameters it takes i.e. and what x is. see config_file_funcs.R for some examples.