graph-methods: Getter for graph used for network diffusion

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
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

1
2
3
4
5
6
7
8
 data(rnaiscreen)
 ft <- hm(rnaiscreen)

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

 graph(diffu)

cbg-ethz/knockdown documentation built on Feb. 11, 2020, 6:25 p.m.