Description Usage Arguments Value Examples
which_gene
plot gene loadings for a given component
1 2 | highest_genes(results, component, omic = 1, max.items = 20,
label.size = 3, label.repel = 1)
|
results |
list; object containing result (output of read_output) |
component |
character string; name or index of component |
omic |
integer or character; index of the omic type to calculate contributions for, or name of omic type if you assigned a name |
max.items |
integer; the number of components to label |
label.size |
numeric; size of point labels |
label.repel |
numeric; force of label repulsion |
A ggplot2 object
1 2 | data(results)
highest_genes(results, 8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.