Learn R Programming

CISE

CISE is an R package that fits the multiple-gragh factorization (M-GRAF) model ( Wang et al., 2017) for separating common and individual low rank structure for multiple graphs with a common set of nodes.

Installation

install.packages("CISE")

# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github("wangronglu/CISE")

Usage

The package contains a dataset of binary brain networks of 212 subjects. After loading the data, we can apply 3 variants of M-GRAF model to decompose the data. Model checking is needed to evaluate which model provides the best fit.

library(CISE)
# load data
# A is an array of adjacency matrices of multiple graphs
data(A)

? MGRAF2
# specify low rank K=5
res = MGRAF2(A = A, K=5, tol=0.01, maxit=5)

# check the common structure - baseline propensities of edges between pairwise nodes
res$Z
# check low rank component for each graph
res$Q
# check joint log-likelihood across iterations
res$LL

Copy Link

Version

Install

install.packages('CISE')

Monthly Downloads

11

Version

0.1.0

License

GPL-2

Maintainer

Lu Wang

Last Published

April 5th, 2018

Functions in CISE (0.1.0)

A

Adjacency matrices of binary brain networks for 212 subjects
VSPLOT

Visuospatial processing ability for 212 subjects
MGRAF2

Second variant of M-GRAF model
MGRAF3

Third variant of M-GRAF model
MGRAF1

First variant of M-GRAF model