# Load example data
data( toydata ) # Load toy data set
D <- toydata$emat # Response matrix (for example, gene expression)
model <- toydata$model # Pre-calculated model
# Find the samples for each response (for a given subnetwork)
response2sample(model, subnet.id = 1)
Run the code above in your browser using DataLab