data2Gviz: Convert data for plotting with Gviz

Description Usage Arguments Value

View source: R/utils.R

Description

Convert data for plotting with Gviz

Usage

1
data2Gviz(obs, regions, binSize, gen, col = "black")

Arguments

obs

The observations. A list of one or more entries containing the observation matrix (numeric) for the samples (e.g. chromosomes).

regions

GRanges object of the regions (e.g. chromosomes) stored in the viterbi path.

binSize

The bin size of the viterbi path.

gen

The geome id, e.g. hg19, hg38 for human.

col

The color of the data tracks.

Value

A list containing the data tracks converted to Gviz objects for plotting.


STAN documentation built on May 31, 2017, 11:25 a.m.

Search within the STAN package
Search all R packages, documentation and source code