print(params) knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE, fig.path = params$output_figure, dev = "svg")
library(dplyr) library(stringr) library(MassExpression) library(plotly) CompleteIntensityExperiment <- params$listInt$CompleteIntensityExperiment IntensityExperiment <- params$listInt$IntensityExperiment design <- colData(IntensityExperiment) comparisonExperiments <- listComparisonExperiments(CompleteIntensityExperiment)
normalised <- FALSE if(metadata(CompleteIntensityExperiment)$NormalisationAppliedToAssay != "None"){ normalised <- TRUE } if(normalised){ # Plot RLE of log2 raw intensity as well as RLE of normalised plot_rle_boxplot(IntensityExperiment, CompleteIntensityExperiment, includeImputed = FALSE, plotRawRLE = FALSE, title = "RLE of normalised log2(intensties)", format = "html") } else { text <- "No normalisation was applied to the data, therefore no difference is expected with the original log2(intensities) distribution." }
r if(!normalised) text
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.