distance_matrix: Compute distances between biclusters

distance_matrixR Documentation

Compute distances between biclusters

Description

This function computes a distance matrix between biclusters using different dissimilarity metrics.

Usage

distance_matrix(bics, MARGIN = "row", metric = 1L)

Arguments

bics

A list of bicluster objects.

MARGIN

Choose if the distance is computed over "row" or "column".

metric

Integer indicating which metric is used. 1: Bray-Curtis dissimilarity (default), 2: Jaccard distance, 3: 1-overlap coefficient 4: 1 - Fowlkes–Mallows index.

Value

A numeric matrix of the dissimilarities between all given biclusters.

Examples

b <- list(bicluster(row=c(1,2,3,4), column=c(1,2,3,4)),
        bicluster(row=c(3,4,5,6), column=c(3,4,5,6)))
distance_matrix(b)


tdrose/mosbi documentation built on May 4, 2022, 3:22 p.m.