colorStackedBarPlot: layerDensitiesDiff

Description Usage Arguments Details Value

View source: R/synapsesLayerComp.r

Description

Density comparison

Usage

1
2
3
colorStackedBarPlot(values, height, boxlegend = NULL, barLegend = NULL,
  title = NULL, min_c = 400, max_c = 800, ncolors = 1000,
  colpal = c("blue", "green", "yellow", "red"))

Arguments

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

Details

Computes the sample density for each layer and performs a difftest sigDiffTestLayer

Value

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


ComputationalIntelligenceGroup/3DSynapsesSA documentation built on May 6, 2019, 12:49 p.m.