View source: R/runShinyMethyl.R
runShinyMethyl | R Documentation |
Function to run the interactive shinyMethyl session from a shinyMethylSet object.
runShinyMethyl(shinyMethylSet1, shinyMethylSet2 = NULL)
shinyMethylSet1 |
|
shinyMethylSet2 |
Optional |
No value returned. Instead the shinyMethyl interactive session is launched.
Jean-Philippe Fortin
shinyMethylSet
if (interactive()){
library(minfi)
library(minfiData)
baseDir <- system.file("extdata", package = "minfiData")
targets <- read.metharray.sheet(baseDir)
targets$Sample_Plate <- substr(targets$Slide,1,7)
RGSet <- read.metharray.exp(targets=targets)
summarized.data <- shinySummarize(RGSet)
runShinyMethyl(summarized.data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.