View source: R/rnaseq_workflow_qc.R
plot_salmon_categories | R Documentation |
Create barplots with percentages for types of Salmon mappings.
plot_salmon_categories( data, fill = brewer.pal(n = 4, name = "Spectral"), sort = F, ids = NULL, invert = F )
data |
A data frame with Salmon mapping data in the same format as |
fill |
A string vector with 4 colors corresponding to bars for the barplots for the transcriptome, decoys, dovetails, and filtered mappings respectively. |
sort |
A logical. Should the x-axis be ordered by transcriptome mapping rate? |
ids |
A vector of rownames for subsetting |
invert |
A logical. Should |
Create barplots with the percentage of reads/read pairs input into Salmon that were mapped to the transcriptome, decoy fragments, as dovetails, and as low-score filtered mappings. Categories are not mutually exclusive. X-axes are ordered the same across plots.
A list with four ggplot objects transcriptome
, decoy
, dovetail
, and filtered
that correspond to the plots for the transcriptome, decoys, dovetails, and filtered mappings
respectively.
load_paired_end_qc_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.