TargetExperiment-class: TargetExperiment S4 class implementation in R
Description
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.
Arguments
Slots
scanBamP
ScanBamParam containing the information to scan the
BAM file.
pileupP
PileupParam containing the information to build the
pileup.
bedFile
GRanges object that models the bed file.
bamFile
BamFile object that is a reference to the BAM file.
fastaFile
FaFile object that is a reference to the reference
sequence.
featurePanel
GRanges object that models the feature panel and
related statistics.
genePanel
GRanges object that models the analyzed panel and
related statistics at a gene level.
attribute
character indicates which attribute 'coverage' or
'medianCounts' will be used to the analysis.
feature
character indicates the name of the analyzed features. E.g
'amplicon', 'exon', 'transcript'.
Features
Model Targeted Sequencing Experiments in R.
Obtain coverage and read counts per sequenced feature.
Evaluate the performance of a targeted sequencing experiment using
coverage/read counts information.
Detect in early stage sequencing or library preparation errors.
Explore read profiles for particular features or genomic regions.
Explore any kind of experiment in which 'feature' definition is
possible for several genes. E.g RNA-seq experiments in which
transcripts could be the 'features'.
Report quality control results.
Functions
TargetExperiment S4 class includes the following functions:
pileupCounts
calculate pileup statistics for the BAM file
buildFeaturePanel
build and model a feature panel as a GRanges
object and compute read statistics
summarizePanel
summarize the feature panel to a gene panel and
compute read statistics
initialize
constructor of TargetExperiment to generate the feature
and gene panels starting from an alignment BAM file and the bed file