Merges the data matrix with a selected metadata file (sample metadata or variable metadata) to obtain a single file.