Description Usage Arguments Details Value
View source: R/synapsesLayerComp.r
Density comparison
1 2 3 |
values |
A Numeric vector. Set of values to plot. |
height |
A numeric vector. Height of each box. Must add up to 1 |
barLegend |
A sting. Legend to put over the colorbar |
title |
A string. Plot title |
min_c |
A numeric value. Color scale lower bound. |
max_c |
A numeric value. Color scale upper bound. |
colpal |
A color vector. Color scale values. |
realSamples |
A dataframe with columns X,Y,Z,Feret,Sample.no. and Layer |
boxLegend |
A string vector. String to be added to each box. |
ncolor |
An integer. Color scale resolution |
Computes the sample density for each layer and performs a difftest sigDiffTestLayer
same as sigDiffTestLayer
colorStackedBarPlot
Variable height stacked bar plot
Creates a stacked bar plot. Each box has different height and its colored according to its value. Color scale can be customized.
Stacked barplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.