Learn R Programming

netresponse (version 1.32.2)

model.stats: model.stats

Description

Subnetwork statistics: size and number of distinct responses for each subnet.

Usage

model.stats(models)

Arguments

models
NetResponse object or list of models

Value

  • A 'subnetworks x properties' data frame containing the following elements.
  • subnet.size:Vector of subnetwork sizes.
  • subnet.responses:Vector giving the number of responses in each subnetwork.

References

Leo Lahti et al.: Global modeling of transcriptional responses in interaction networks. Bioinformatics (2010). See citation("netresponse") for reference details.

Examples

Run this code
# Load a pre-calculated netresponse model obtained with 
# model <- detect.responses(toydata$emat, toydata$netw, verbose = FALSE)
data(toydata)        
# Calculate summary statistics for the model
stat <- model.stats(toydata$model)

Run the code above in your browser using DataLab