is_subset_or_identical: Check if a bicluster is a subset (in rows AND columns) of...

is_subset_or_identicalR Documentation

Check if a bicluster is a subset (in rows AND columns) of identical to another bicluster.

Description

Check if a bicluster is a subset (in rows AND columns) of identical to another bicluster.

Usage

is_subset_or_identical(bic1, bic2)

Arguments

bic1

A bicluster.

bic2

A bicluster.

Value

1 if bic1 is a subset of bic2, 2 if bic 1 is identical to bic2, 0 else.

Examples

is_subset_or_identical(bicluster(row=c(1,2,3,4), column=c(1,2,3,4)),
    bicluster(row=c(1,2,3,4), column=c(1,2,3,4)))
    

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