skbio.core.distance.DissimilarityMatrix.to_file

DissimilarityMatrix.to_file(out_f, delimiter='t')[source]

Save the dissimilarity matrix to file in delimited text format.

Parameters:

out_f : file-like object or filename

File-like object to write serialized data to, or name of file. If it’s a file-like object, it must have a write method, and it won’t be closed. Else, it is opened and closed after writing.

delimiter : str, optional

Delimiter used to separate elements in output format.

See also

from_file