Description Usage Arguments Value Examples
loading_distribution
Plot overall distribution of gene loadings
1 2 | loading_distribution(results, omic = 1, split_by_pip = FALSE,
bw = "nrd0", n = 2^9, facet_type = "zoom")
|
results |
list; object containing result (output of read_output) |
omic |
numeric or character; index of the omic type to plot, or name of omic type if you assigned a name |
split_by_pip |
logical; Should density by plotted seperately for loadings with PIPs either side of 0.5 |
bw |
bandwidth used in density estimation, see ?density for more information |
n |
number of points for density evaluation, see ?density for more information |
facet_type |
"zoom" or "wrap"; if split_by_pip is true, should the density be plotted in seperate graphs or the same graph with a zoom. |
A ggplot2 object
1 2 | data(results)
loading_distribution(results, split_by_pip = TRUE, facet_type="wrap")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.