adjacencyMatrix: Accessor function for the 'adjacencyMatrix' information in a...

Description Usage Arguments Author(s) Examples

Description

The adjency matrix is a directed matrix of 0's and 1's indicating if there is a link between features.

Usage

1
2
## S4 method for signature 'mRMRe.Network'
adjacencyMatrix(object)

Arguments

object

a mRMRe.Network object.

Author(s)

Nicolas De Jay, Simon Papillon-Cavanagh, Benjamin Haibe-Kains

Examples

1
2
3
4
5
6
7
8
set.thread.count(2)
data(cgps)
feature_data <- mRMR.data(data =  data.frame(cgps.ge))

# Build an mRMR-based network and display adjacency matrix (topology)
network <- new("mRMRe.Network", data = feature_data, target_indices = c(1, 2),
			levels = c(2, 1), layers = 1)
adjacencyMatrix(network)

bhklab/mRMRe documentation built on Sept. 3, 2021, 10:50 p.m.