visualize: Visualize: Generate a graph which vividly displays the gene...

Description Usage Arguments Value Examples

View source: R/visualize.R

Description

visualize() generates a graph. It is used to intuitively and vividly display the layout of gene X, Y and W.

Usage

1
visualize(graph, kernel.result, x, k = 2, cutoff = 1, path = NULL)

Arguments

graph

The igraph object of gene network.

kernel.result

The result of graph.kd which finds genes W of a gene X.

x

The gene the plot is generated for.

k

The degree of the neighborhood of X.

cutoff

A threshold to filter gene W.

path

The path where the result graph is saved to. The default path is the original path of input graph.

Value

a graph of gene X, Y and W

Examples

1
2
3
4
## Not run: 
kernel <- graph.kd(relate.matrix,g,smoothing.normalize = "one")
visualize(g,kernel,x,k=2,cutoff=1,path= NULL)
## End(Not run)

LANDD documentation built on May 1, 2019, 8:12 p.m.