plotPseudoVsAlignedCounts | R Documentation |
Plot pseudo vs. aligned counts
plotPseudoVsAlignedCounts(object, ...)
## S4 method for signature 'bcbioRNASeq'
plotPseudoVsAlignedCounts(
object,
genes = NULL,
title = "Pseudoaligned vs. aligned counts",
...
)
object |
Object. |
genes |
|
title |
|
... |
Passthrough to |
ggplot
.
Updated 2023-10-05.
Currently supported for salmon or kallisto. The function will
intentionally error for datasets containing aligned counts in the primary
counts
assay.
Michael Steinbaugh
data(bcb)
## bcbioRNASeq ====
## Correlation heatmap.
plotPseudoVsAlignedCounts(bcb)
## Individual genes.
## Checking the most expressed aligned genes here.
aligned <- SummarizedExperiment::assay(bcb, i = "aligned")
genes <- names(tail(sort(rowSums(aligned)), n = 2L))
plotPseudoVsAlignedCounts(bcb, genes = genes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.