iplot.Rd
It is informative to look at the individual log fold changes of the genes within a gene set to explore the degree to which they (1) are coherent with respect to each other; and (2) see how the compare to the background distribution of log fold changes of the entire transcriptome.
You can visualize this behavior via a type = "density"
plot, or a
type = "boxplot". It is also common to plot either the individual log fold changes
value = "logFC"or t-statistics
value = "t"`.
iplot( x, y, j, value = "logFC", type = c("density", "gsea", "boxplot"), tools = c("wheel_zoom", "box_select", "reset", "save"), main = NULL, with.legend = TRUE, shiny_source = "mggenes", width = NULL, height = NULL, ggtheme = theme_bw(), trim = 0.005, ... )
x | A |
---|---|
y | the name of the gene set collection |
j | the name of the gene set name |
value | A string indicating the column name for the value of the
gene-level metadata to plot. Default is |
type | plot the distributions as a |
tools | the tools to display in the rbokeh plot |
main | A title to display. If not specified, the gene set name
will be used, otherwise you can pass in a custom title, or |
with.legend | Draws a legend to map point color to meaning. There are three levels a point (gene level statistic) can be color as, "notsig", "psig", and "sig". "notsig" implies that the FDR >= 10%, "psig" means that FDR <= 10%, but the logFC is "unremarkable" (< 1), and "sig" means that both the FDR <= 10% and the logFC >= 1 |
the ploty plot ojbect
mgr <- exampleMultiGSEAResult() iplot(mgr, "c2", "BURTON_ADIPOGENESIS_PEAK_AT_2HR", c("t-statistic" = "t"), type = "density")#> Warning: `arrange_()` is deprecated as of dplyr 0.7.0. #> Please use `arrange()` instead. #> See vignette('programming') for more help #> This warning is displayed once every 8 hours. #> Call `lifecycle::last_warnings()` to see where this warning was generated.#>