Learn R Programming

TarSeqQC (version 1.2.0)

plotGeneAttrPerFeat: Plot the attribute value for all the features of a selected gene.

Description

plotGeneAttrPerFeat plots the achieved performance for each feature for a particular gene. The resulting graph shows one bar per each gene feature with heights according to its attribute value.

Usage

plotGeneAttrPerFeat(object, geneID)
"plotGeneAttrPerFeat"(object, geneID)

Arguments

object
TargetExperiment object.
geneID
Character indicating the ID of the selected gene.

Value

ggplot2 graphics.

See Also

plotAttrExpl

Examples

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

# Exploring amplicon attribute values for a particular gene
g<-plotGeneAttrPerFeat(ampliPanel, geneID="gene4")
# Adjust text size
g<-g+theme(title=element_text(size=16), axis.title=element_text(size=16),
legend.text=element_text(size=14))
g
}

Run the code above in your browser using DataLab