Description Usage Arguments Value Note Author(s) See Also Examples
plotNtdPercentage
plots the percentages of the ocurrence of each
nucleotide in each position for a selected feature.
1 2 3 4 5 | plotNtdPercentage(object, featureID, BPPARAM = bpparam())
## S4 method for signature 'TargetExperiment'
plotNtdPercentage(object, featureID,
BPPARAM = bpparam())
|
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. |
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 | ## 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
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.