generated from bokulich-lab/q2-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 14
DistanceMatrix
Santiago Castro Dau edited this page Apr 23, 2024
·
2 revisions
A symmetric matrix representing distances between entities.
class LSMatFormat(model.TextFileFormat):
def sniff(self):
sniffer = skbio.io.io_registry.get_sniffer('lsmat')
return sniffer(str(self))[0]
DistanceMatrixDirectoryFormat = model.SingleFileDirectoryFormat(
'DistanceMatrixDirectoryFormat', 'distance-matrix.tsv', LSMatFormat)
data
└── distance-matrix.tsv