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

Save the dissimilarity matrix to file in delimited text format.


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