trace2track: Converts cnvScore traces to a drawable track

Description Usage Arguments Value Author(s) See Also

Description

This function converts the data.frame trace that can be produced by cnvScore into a track.table object that can be browsed using Rgb's functions tk.browse. and browsePlot.

Usage

1
  trace2track(paths, dgv.map, dgv.track)

Arguments

paths

A data.frame, as produced by cnvScore with trace=TRUE.

dgv.map

An integer matrix as returned by map2design, corresponding to the mapping of the polymorphism (CNV) dataset to a common design.

dgv.track

A track.table-inheriting object, the original dataset used to produce dgv.map.

Value

Returns a copy of dgv.track, in which CNVs are grouped by paths labeled with the resulting score.

Author(s)

Sylvain Mareschal

See Also

cnvScore, map2design


cghRA documentation built on May 2, 2019, 3:34 a.m.