Skip to content

DistanceMatrix

Santiago Castro Dau edited this page Apr 23, 2024 · 2 revisions

A symmetric matrix representing distances between entities.

Artifact Format

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)

Expected Folder Structure

data
└── distance-matrix.tsv

Where to find DistanceMatrix

As Input

🏠 Home

🧑🏻‍🏫 Tutorials

🎬 Actions

Clone this wiki locally