fldgmConcentrationPlot: fldgmConcentrationPlot

Description Usage Arguments Examples

Description

Plot histogram of cDNA concentrations after a C1 run

Usage

1
fldgmConcentrationPlot(LIBS, scales = "fixed", group = ~Run)

Arguments

LIBS

A metadata table, often called ‘libs’ table, that contains at least a ‘Concentration’ and a ‘Run’ column. The table will be coerced as a data frame (without checking names), so that Bioconductor's DataFrame objects can also be used.#'

scales

The ‘scales’ argument for the plot. Default: ‘fixed’.

group

A formula to be passed to ‘ggplot2’'s ‘facet_wrap’ function.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Example data
libs <- read.table(system.file("extdata/libs-with-all-metadata.tsv", package="smallCAGEqc"))

# Plot a single histogram
fldgmConcentrationPlot(libs)

# Faced by group
fldgmConcentrationPlot(libs, group = ~group)

# Test coercion to data frame.
if(require(S4Vectors))
  fldgmConcentrationPlot(DataFrame(libs))

charles-plessy/smallCAGEqc documentation built on May 13, 2019, 3:31 p.m.