track_x_axis {rGenomeTracks} | R Documentation |
This track will specifiy the options for x-axis for location, height, font size and wheather to overlay previous track.
track_x_axis( title = NULL, height = 2, overlay_previous = "no", where = "bottom", fontsize = 15 )
title |
String. If specificed, the title of the track to be displayed. |
height |
Numeric. The height of the plotted track in cm. Default is 2. See notes. |
overlay_previous |
String. Options are "no" (default) or "yes" or "share-y". |
where |
String. Either "bottom" (default) or "top" |
fontsize |
Numeric value to font size of tracks's text. |
genome_track
fontsize
argument can be overriden by the same argument in plot_gtracks()
Omar Elashkar
tads_dir <- system.file("extdata", "tad_classification.bed", package = "rGenomeTracks" ) tads <- track_domains( file = tads_dir, border_color = "black", color = "#11FF34", height = 5 ) tads_i <- track_domains( file = tads_dir, border_color = "red", color = "#cccccc", height = 3, orientation = "inverted" ) tracks <- track_x_axis(where = "top") + tads + tads_i ## Not run: plot_gtracks(tracks, chr = "X", start = 30 * 10^5, end = 35 * 10^5) ## End(Not run)