Description Usage Arguments Value Note Examples
Boxplot with data points and labeled outliers.
1 2 3 4 5 6 7 8 9 10 11 |
y |
a numeric vector. |
x |
a factor, |
labels |
a character vector, if NULL, |
keepN |
logical or numeric indicating which samples to include. |
classCol |
a character vector specifying class colors. |
points |
logical indicating whether points are to be added to boxes. |
width |
numeric to adjust point stacking - increase to reduce width. |
showOutliers |
logical indicating whether outliers are highlighted. |
... |
additional arguments to be passed to |
a boxplot
For data points, y-values are grouped and averaged - not exact!
1 2 3 4 5 6 | isCMS4 <- rownames(crcTCGAsubset) %in%
templates.CMS$probe[templates.CMS$class == 'CMS4']
y <- colSums(Biobase::exprs(crcTCGAsubset)[isCMS4,])
x <- crcTCGAsubset$CMS
subBoxplot(y, x, ylab = expression(sum(log2(RSEM))), main = 'CMS4 genes',
keepN = which(x != "CMS1"), notch = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.