Skip to contents

Finds and prints all similarities among lineage

Usage

lineage_similarity(data, simplify = FALSE, almost = 1)

Arguments

data

The result of fuse or a lineage definition matrix.

Value

A list of length 4 containing information on which lineages differ by one, the Jaccard similarity between lineages, which lineages are subsets and almost subsets of each other. in is_subset and is_almost_subset a value is true if the lineages of the column name is a subset/almost a subset of the lineages of the row name.