Vline Track

Vline Track displays vertical lines in the given positions (i.e. width-one GRanges).

suppressPackageStartupMessages({
    library(TnT)
    library(GenomicFeatures)
})
set.seed(42)

Basic Example

pos <- IRanges(start = sample(1:1000, 6), width = 1)
colors <- c("red", "yellow", "green", "cyan", "blue", "magenta")
vltrack <- TnT::VlineTrack(pos,tooltip = data.frame(Position = start(pos), Color = colors),
                      color = colors, label = NULL)
TnTBoard(vltrack)



Session Info

sessionInfo()


Try the TnT package in your browser

Any scripts or data that you put into this service are public.

TnT documentation built on Nov. 8, 2020, 8:11 p.m.