View source: R/rnaseq_workflow_qc.R
plot_unique_read_pct | R Documentation |
Create a unique read percentage by sample scatterplot.
plot_unique_read_pct( data, group = NULL, point_size = 4, fill = NULL, alpha = 0.75, sort = T, ids = NULL, invert = F, return_data = F )
data |
A data frame with sequencing depth data in the same format as |
group |
A single column data frame denoting categorical variable values to use to
partition the data points into separate distributions/boxplots. Row names should match rownames
in |
point_size |
A numeric. The size for data points. |
fill |
A string. The fill color for data points. |
alpha |
A numeric. The alpha level for data points. |
sort |
A logical. Should the x-axis be ordered by sequencing depth? |
ids |
A vector of rownames for subsetting |
invert |
A logical. Should |
return_data |
A logical. Should plot data be returned instead of a ggplot object? |
A ggplot object.
A ggplot object unless return_data
is TRUE
, then a data frame with the
unique read percentage and grouping variable.
load_paired_end_qc_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.