Learn R Programming

D3GB (version 1.1)

genome_addTrack: Add tracks to

Description

genome_addTrack add tracks to genomebrowser.

Usage

genome_addTrack(gb, track, trackname = NULL, type = "gene", color = "#000", scale = NA)

Arguments

gb
a genome browser object produced by the function genomebrowser.
track
a "character" string giving the input BED file or a data frame with track information to be represented in the genome browser.
trackname
a "character" string giving a name for the track.
type
a "character" string with the type of track should be drawn. Possible types are: "gene", "exons", "domain", "value" or "score".
color
a "character" string giving the color of the track.
scale
a vector with two values which specifies the minimun and maximun limits in the representation of the "score" or "value" tracks. By default maximun and minimun scores are taken as the limits.

Value

The function add an input track to genomebrowser.

Examples

Run this code
# Segmentate tracks.
genome_addTrack(gb, track)

Run the code above in your browser using DataLab