Description Usage Arguments Examples
Plot histogram of cDNA concentrations after a C1 run
1 | fldgmConcentrationPlot(LIBS, scales = "fixed", group = ~Run)
|
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. |
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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.