biasExploration
(Package: TarSeqQC) :
Plot attribute density and boxplot for each bias source quartile.
biasExploration plots density and box-plot of the analyzed attribute for eaach bias source' quartiles. It helps the identification of some bias due to high source values, for example, high gc content. This graphics could plot together using the ggplot2 geom_violin method.
buildFeaturePanel
(Package: TarSeqQC) :
Function to build a feature panel based on specific genomic regions.
buildFeaturePanel builds panel slots of a TargetExperiment object. Input can be a bam file or a pileup matrix. If the bed file contains a high number of amplicons, the bam file as input is recommended in order to diminish memory requirements. The resulting object is a GRanges instance having panel and counts/coverage information.
This S4 class represents a Targeted Sequencing Experiment in R. Targeted Sequencing Experiments are characterized by a 'bed file' that contains the specification of the explored 'features' as a 'panel'. This features could be amplicons, exons, transcripts, among others. In general each feature is associated to one gene. A gene could be related to many features. This class allows the representation and quality control of a Targeted Sequencing Experiment.
TargetExperiment creates a TargetExperiment object with the architecture specified by the bed and alingment BAM files. If 'scanBamP' and/or 'pileupP' parameters are not specified, default values of their constructors will be used. attribute and feature parameters can be setted after constructor calling.
initialize creates the TargetExperiment object architecture for the specified bed and alingment BAM files. If 'scanBamP' and/or 'pileupP' parameters are not specified, default values of their constructors will be used.
plot allows a fast and simple representation of one feature panel using a polar histogram plot. Histogram bar reflects the percentage of features that have shown the analyzed attribute in a user setted interval. The resulting graph can be busy and might be better off saved.
plotAttrExpl
(Package: TarSeqQC) :
Plot attribute exploration of a TargetExperiment object.
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.