Description Usage Arguments Value Examples
Plots the frequencies of selected sequence features vs. each sample's DNA concentration.
1 2 |
seqtab |
(Required). |
taxa |
(Required). |
conc |
(Required). |
neg |
(Optional). |
normalize |
(Optional). |
showModels |
(Optional). |
log |
(Optional). |
facet |
(Optional). |
A ggplot2
object.
Will be rendered to default device if printed
,
or can be stored and further modified.
See ggsave
for additional options.
1 2 3 4 5 6 7 | # MUC is a phyloseq object, MUC.conc is the vector of sample concentrations
MUC <- readRDS(system.file("extdata", "MUClite.rds", package="decontam"))
MUC.conc <- readRDS(system.file("extdata", "MUCconc.rds", package="decontam"))
plot_frequency(MUC, "Seq1", conc=MUC.conc)
# The concentration can also be reference directly as the quant_reading sample variable in MUC
plot_frequency(MUC, "Seq1", conc="quant_reading")
plot_frequency(MUC, c("Seq1", "Seq10", "Seq33"), conc="quant_reading", log=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.