adjacencyMatrix

0th

Percentile

Accessor function for the 'adjacencyMatrix' information in a mRMRe.Network object.

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

Keywords
methods
Usage
"adjacencyMatrix"(object)
Arguments
object
a mRMRe.Network object.

Aliases
  • adjacencyMatrix
  • adjacencyMatrixSum
  • adjacencyMatrix,mRMRe.Network-method
  • adjacencyMatrixSum,mRMRe.Network-method
Examples
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)
Documentation reproduced from package mRMRe, version 2.0.5, License: Artistic-2.0

Community examples

Looks like there are no examples yet.