Description Usage Arguments Value Note Author(s) See Also Examples
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.
1 2 3 4 5 | plotGeneAttrPerFeat(object, geneID, overlap=FALSE, level="feature")
## S4 method for signature 'TargetExperiment'
plotGeneAttrPerFeat(object, geneID, overlap=FALSE,
level="feature")
|
object |
TargetExperiment object. |
geneID |
Character indicating the ID of the selected gene. |
overlap |
Logical indicating if the amplicons should be collapsed in overlapped regions. |
level |
Character indicating the level of the plot. Can be 'feature', to plot the features' attribute; 'region', to plot overlapped regions' attribute or 'both'to generate the two previos plots |
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 18 19 | ## Loading the TargetExperiment object
data(ampliPanel, package="TarSeqQC")
## Exploring amplicon attribute values for a particular gene
# Ignoring amplicon overlapping
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))
if(interactive()){
g
}
# Considering amplicon overlapping
g<-plotGeneAttrPerFeat(ampliPanel, geneID="gene4", overlap=TRUE, level="both")
# Adjust text size
g<-g+theme(title=element_text(size=16), axis.title=element_text(size=16),
legend.text=element_text(size=14))
if(interactive()){
g
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.