View source: R/rnaseq_workflow_qc.R
plot_hisat2_mapping_rate | R Documentation |
Create a HISAT2 concordant alignment rate histogram and boxplot. The two plots are intended to be used as a single column, two row figure panel. Only applicable for paired-end sequencing data.
plot_hisat2_mapping_rate( data, ids = NULL, invert = F, binsize = NULL, hist_fill = "gray10", hist_alpha = 0.75, box_fill = "goldenrod", box_alpha = 0.5, box_lwd = 1, jitter_color = "gray30", jitter_alpha = 0.75, jitter_size = 1.75, x_title = "Concordant alignment rate", y_title = "Sample count" )
data |
A data frame with HISAT2 mapping data in the same format as |
ids |
A vector of rownames for subsetting |
invert |
A logical. Should |
binsize |
A numeric value for the histogram bin widths. |
hist_fill |
A string. The fill color for histogram bars. |
hist_alpha |
A numeric value for the alpha level for histogram bars. |
box_fill |
A string. The fill color for the boxplot. |
box_alpha |
A numeric value for the alpha level for the boxplot. |
box_lwd |
A numeric value for the boxplot line width. |
jitter_color |
A string. The point color for jittered data points. |
jitter_alpha |
A numeric for the alpha level for jittered data points. |
jitter_size |
A numeric for the point size for jittered data points. |
x_title |
A string denoting the x-axis title. Only added to the boxplot. |
y_title |
A string denoting the y-axis title. Only added to the histogram. |
A list with two ggplot objects hist
and boxplot
corresponding to a histogram and
jittered boxplot respectively.
load_paired_end_qc_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.