Learn R Programming

TarSeqQC (version 1.2.0)

plotAttrExpl: Plot attribute exploration of a TargetExperiment object.

Description

plotAttrExpl plots density and box-plot of the analyzed attribute at a feature or gene level. This graphics could plot together using the ggplot2 geom_violin method.

Usage

plotAttrExpl(object, level = "feature", join = TRUE, log = TRUE, color = "blue")
"plotAttrExpl"(object, level = "feature", join = TRUE, log = TRUE, color = "blue")

Arguments

object
TargetExperiment class object.
level
Character 'feature' or 'gene' indicating at which level should be analyzed the attribute.
join
Logical indicating if boxplot and density function should be plotted together using the ggplot2 geom_violin method.
log
Logical indicating if the attribute should be considered in log10 scale.
color
A character indicating a valid name color.

Value

ggplot2 graphics.

See Also

plot, plotFeatPerform

Examples

Run this code
if(interactive()){
## Loading the TargetExperiment object
data(ampliPanel, package="TarSeqQC")

# Attribute boxplot and density plot exploration
g<-plotAttrExpl(ampliPanel,level="feature",join=TRUE, log=FALSE, color="blue")
# x11(type="cairo")
g
}

Run the code above in your browser using DataLab