loadSegTrack | R Documentation |
load a SEG track provided as a data.frame. igv "displays segmented data as a blue-to-red heatmap where the data range is -1.5 to 1.5... The segmented data file format is the output of the Circular Binary Segmentation algorithm (Olshen et al., 2004)".
loadSegTrack(session, id, trackName, tbl, deleteTracksOfSameName = TRUE)
session |
an environment or list, provided and managed by shiny |
id |
character string, the html element id of this widget instance |
trackName |
character string |
tbl |
data.frame, with at least "chrom" "start" "end" "score" columns |
deleteTracksOfSameName |
logical, default TRUE |
nothing
library(igvShiny)
demo_app_file <-
system.file(package = "igvShiny", "demos", "igvShinyDemo.R")
if (interactive()) {
shiny::runApp(demo_app_file)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.