attribute_graph {mosbi} | R Documentation

## Generate attribute specific co-occurance networks.

### Description

The function generates co-occurance networks for all the attributes. E.g. if `MARGIN="column"`, for each column, a oc-occurance matrix of rows is generated, which includes all biclusters, where the column element is present.

### Usage

    attribute_graph(bics, m, MARGIN = "column")

### Arguments

`bics` | A list of `bicluster`s.
`m` | The matrix used for biclustering.
`MARGIN` | `"row"` or `"row"`, Indicating if a list of row- or column-specific networks is generated

### Value

A list of numeric matrices. If `MARGIN="column"` (`"row"`), the list has a length of `ncol(m)` (`nrow(m)`) and each matrix the dimensions of `c(nrow(m), nrow(m))` (`c(ncol(m), ncol(m))`)

### Examples

    m <- matrix(seq(1:16), nrow=4)
    # m <- matrix(rnorm(10000), nrow=100)
    # bics <- c(run_fabia(m), run_isa(m), run_plaid(m))
    # attribute_graph(bics, m)

[Package mosbi version 1.0.3 Index]