demo/simone_steadyState.R

rm(list=ls())
library(simone)
## Data set and graph generation: a network with no latent
## clustering, number of edges = number of nodes
set.seed(777)
p    <- 50
n    <- 3*p # quite favorable settings :)
g    <- rNetwork(p, pi=p, name="Theorical Network")
data <- rTranscriptData(n,g)

## Running simone
res <- simone(data$X, type="steady-state")

## Plotting the results
plot(res, ref.graph=g$A, ask=FALSE)

## Compare the network (assuming the number of edges is known)
plot(g,getNetwork(res, p))

Try the simone package in your browser

Any scripts or data that you put into this service are public.

simone documentation built on May 2, 2019, 2:37 a.m.