Learn R Programming

netresponse (version 1.32.2)

get.dat,NetResponseModel-method: Get subnetwork data

Description

Get subnetwork data

Usage

## S3 method for class 'NetResponseModel':
get.dat(model, subnet.id, sample = NULL)

Arguments

model
Result from NetResponse (detect.responses function).
subnet.id
Subnet identifier. A natural number which specifies one of the subnetworks within the 'model' object.
sample
Define the retrieved samples

Value

  • Subnet data matrix

References

See citation("netresponse")

Examples

Run this code
## Load a pre-calculated netresponse model obtained with 
# model <- detect.responses(toydata$emat, toydata$netw, verbose = FALSE)
# data( toydata ); get.dat(toydata$model)

Run the code above in your browser using DataLab