View source: R/genomebrowser.R
genome_addTrack | R Documentation |
genomebrowser
.genome_addTrack
add tracks to genomebrowser
.
genome_addTrack(gb, track, trackname = NULL, type = "gene", color = "#000", scale = NA)
gb |
a genome browser object produced by the function |
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. |
No return value, called for side effects
David Barrios and Carlos Prieto. Bioinformatics, University of Salamanca. See http://d3gb.usal.es/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.