View source: R/plotting_functions.R
PlotUTRLengthShift | R Documentation |
Plot global shifts in 3'UTR lengths between cell populations. Input is a table of results from the Detect3UTRLengthShift functions. By default evaluates whether there is a significant shift in 3'UTR length between upregulated and downregulated peaks using the Wilcoxon Rank-sum test.
PlotUTRLengthShift(
results.table,
plot.title = "Global shift in 3'UTR length",
do.ranksum.test = TRUE,
return.plot = TRUE,
do.plot = FALSE
)
results.table |
table produced by the DetectUTRLengthShift function |
plot.title |
optional title |
do.ranksum.test |
whether to perform a ranksum test on the shift in UTR usage |
return.plot |
whether to return the ggplot2 object |
do.plot |
whether to print the figure to output |
extdata_path <- system.file("extdata",package = "Sierra")
results.file <- paste0(extdata_path,"/Cycling_vs_resting_fibro_UTR_length_res.RData")
load(results.file)
PlotUTRLengthShift(res.table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.