View source: R/plottingfunctions.R
PlotDistributions | R Documentation |
Get some stats after reading in data
PlotDistributions(inputData, viewer = T, palette = "Set1")
inputData |
IntLimObject output of ReadData() |
viewer |
whether the plot should be displayed in the RStudio viewer (T) or in Shiny/Knittr (F) |
palette |
choose an RColorBrewer palette ("Set1", "Set2", "Set3", "Pastel1", "Pastel2", "Paired", etc.) or submit a vector of colors |
a highcharter object
dir <- system.file("extdata", package="IntLIM", mustWork=TRUE) csvfile <- file.path(dir, "NCItestinput.csv") mydata <- ReadData(csvfile,metabid='id',geneid='id') PlotDistributions(mydata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.