TargetExperiment-plotMetaDataExpl: Graphical exploration of a specific metadata column.

Description Usage Arguments Value Note Author(s) See Also Examples

Description

plotMetaDataExpl plots density and box-plot of a specific metadata column. If the characteristic is nonnumerical, then a frequency plot is built.

Usage

1
2
3
4
5
6
plotMetaDataExpl(object, name = c("length", "gc", "pool"), log = FALSE,
    join = TRUE, absolute = FALSE, color = "blue")

## S4 method for signature 'TargetExperiment'
plotMetaDataExpl(object, name = c("length", "gc",
    "pool"), log = FALSE, join = TRUE, absolute = FALSE, color = "blue")

Arguments

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.

Value

ggplot2 graphics.

Note

see full example in TargetExperiment-class

Author(s)

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

See Also

plot, plotFeatPerform

Examples

 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
}

gamerino/TarSeqQC documentation built on Feb. 3, 2020, 9:19 p.m.