Description Usage Arguments Value Author(s)
View source: R/transcript_strip_plot.R
Produces a a stripplot of a specific transcript given a count matrix. Ensure that the count matrix has the identifier as the row names
1 2 3 4 5 6 7 8 9 10 11 |
id |
Identifier as provided in the count matrix |
counts |
Matrix of counts with the identifiers as rownames |
factor_interest |
A vector based on which you want to stratify your plot |
title |
A title for the plot |
enlarged |
Do you want an enlarged plot on the right side (TRUE or FALSE). Defaults to "auto" whereby the standard deviation will be calculated of the sample. If the sd is smaller than 0.015 the enlarged plot will be generated for visibility purposes. |
type |
Choose the type of plot you want: "boxplot", "SE", "CI" or simply "mean". Defaults to "boxplot". |
colors |
A vector containing the the colors to be utilized for the plot with the contrast of interest as names (default: uses ggplot's default coloring scheme). |
legend |
Boolean depicting whether a legend should be included (default: TRUE) |
y_lab |
A specific name for the y labels (default: "Counts") |
A stripplot of a specific gene
Andrew Y.F. Li Yim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.