MetStaT.CreateFileFromHeaderMatrix:
Writes a matrix to file with column names and optionally row names as well.
Description
Essentially a wrapper function for R's write.table method. This function will write the input matrix to a file, always maintaining column name information from the input matrix. Row names in the matrix will be ignored by default, but can be included as well or supplied manually as a vector. The values in the output file will be separated by tabs.