graph {perturbatr}R Documentation

Getter for graph used for network diffusion

Description

Returns the graph that has been used for analysis using network diffusion.

Usage

graph(obj)

## S4 method for signature 'NetworkAnalysedPerturbationData'
graph(obj)

Arguments

obj

the object for which you want to extract the underlying graph

Value

returns a igraph object

Examples

 data(rnaiscreen)
 ft <- hm(rnaiscreen)

 gr <- readRDS(system.file(
   "extdata", "graph_small.rds", package = "perturbatr"))
 diffu <- diffuse(ft, gr, r=1)

 graph(diffu)

[Package perturbatr version 1.4.0 Index]