TargetExperiment-plotNtdPercentage: Plot nucleotide read percentages for a particular feature.

Description Usage Arguments Value Note Author(s) See Also Examples

Description

plotNtdPercentage plots the percentages of the ocurrence of each nucleotide in each position for a selected feature.

Usage

1
2
3
4
5
plotNtdPercentage(object, featureID, BPPARAM = bpparam())

## S4 method for signature 'TargetExperiment'
plotNtdPercentage(object, featureID,
    BPPARAM = bpparam())

Arguments

object

a TargetExperiment object.

featureID

a character indicating the feature ID.

BPPARAM

An optional BiocParallelParam instance defining the parallel back-end to be used during evaluation.

returned by the function.

Value

ggplot2 graphics

Note

see full example in TargetExperiment-class

Author(s)

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

See Also

plotFeature

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## loading TargetExperiment object
data(ampliPanel, package="TarSeqQC")
## Defining bam file, bed file and fasta file names and paths
setBamFile(ampliPanel)<-system.file("extdata", "mybam.bam", 
    package="TarSeqQC", mustWork=TRUE)
setFastaFile(ampliPanel)<-system.file("extdata", "myfasta.fa", 
    package="TarSeqQC", mustWork=TRUE)
# Exploring the nucleotide percentages compositions of the read counts for a 
# particular amplicon
g<-plotNtdPercentage(ampliPanel,featureID="AMPL20")
if(interactive()){
g
}

gamerino/TarSeqQC documentation built on Feb. 3, 2020, 9:19 p.m.