is_subset_or_identical {mosbi} | R 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)))

[Package mosbi version 1.0.3 Index]