Description Usage Arguments Value Note Author(s) See Also Examples
plotMetaDataExpl
plots density and box-plot of a specific metadata
column. If the characteristic is nonnumerical, then a frequency plot is
built.
1 2 3 4 5 6 |
object |
TargetExperiment class object. |
name |
a character indicating the metadata column name that should be analyzed. |
log |
Logical indicating if the numerical metadata column should be considered in log10 scale. |
join |
Logical only for numerical variables. It indicates if boxplot and density function should be plotted together using the ggplot2 geom_violin method. |
absolute |
Logical indicating if the frequencies of the selected categorical metadata column should be in absolute scale. If absolute is FALSE the frequencies are in relative percentages. |
color |
A character indicating a valid name color. |
ggplot2 graphics.
see full example in TargetExperiment-class
Gabriela A. Merino gmerino@bdmg.com.ar, Cristobal Fresno cfresno@bdmg.com.ar, Yanina Murua ymurua@leloir.org.ar, Andrea S. Llera allera@leloir.org.ar and Elmer A. Fernandez efernandez@bdmg.com.ar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Loading the TargetExperiment object
data(ampliPanel, package="TarSeqQC")
# Attribute boxplot and density plot exploration
g<-plotMetaDataExpl(ampliPanel, name="length")
if(interactive())
{
# x11(type="cairo")
g
}
# Explore amount of amplicons per gene
g<-plotMetaDataExpl(ampliPanel, name="gene", absolute=TRUE)
if(interactive())
{
# x11(type="cairo")
g
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.