run_prioritization_patient: Run RWR prioritization for a given sample

Description Usage Arguments Value Author(s) See Also Examples

Description

A wrapper function that runs the prioritization workflow for a given sample.

Usage

1
run.prioritization.patient(db.con, sample.id, graph.obj, param.obj)

Arguments

db.con

An object inheriting from DBIConnection to connect to the datasource.

sample.id

The sample ID that should be uniquely identifiable even if not an exact match to the datasource.

graph.obj

An annotatedIGraph object

param.obj

A priorDbParams object

Value

A variantPriorResultobject containing the results of the prioritization

Author(s)

Daniel Bottomly

See Also

annotatedIGraph, priorDbParams, variantPriorResult

Examples

1
2
3
4
5
6
7
8
if (require(RSQLite) && require(HitWalkerData))
{
  data(params)
  db.con <- dbConnect("SQLite", hitwalker.db.path())
  graph.obj <- loadGraph(graph.file.path(), examp.prior.param)
  test.out <- run.prioritization.patient(db.con=db.con, sample.id="08-00102", graph.obj=graph.obj, param.obj=examp.prior.param)
  head(summary(test.out))
}

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