draw_graph_variantPriorResult: Plot a 'variantPriorResult' object

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Plot a subset of a variantPriorResult object based on the shortest paths between hits and variants. This function wraps the workhorse make.target.graph and draw.graph functions.

Usage

1
draw.graph.variantPriorResult(var.obj, graph.params)

Arguments

var.obj

A variantPriorResult object

graph.params

A graphDispParams object

Details

For the top ranked variants and hits, the shortest path is found between the hits and variants as well as between the hits and between the variants. Currently only the 1st order interactions are kept for variant-variant paths and the shortest paths are unweighted. See make.target.graph for details. Graphs are drawn using the Rgraphviz package in conjunction with the graph package, see draw.graph for details.

Value

None

Author(s)

Daniel Bottomly

See Also

draw.graph,make.target.graph, variantPriorResult, graphDispParams

Examples

1
2
3
4
set.seed(123)
data(prior_obj)
graph.params <- makeGraphDispParams(file.name=character())
draw.graph.variantPriorResult(prior.obj, graph.params)

dbottomly/HitWalker documentation built on May 15, 2019, 1:22 a.m.