highest_genes: Which gene has the highest loading for a given component

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

which_gene plot gene loadings for a given component

Usage

1
2
highest_genes(results, component, omic = 1, max.items = 20,
  label.size = 3, label.repel = 1)

Arguments

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

Value

A ggplot2 object

Examples

1
2

marchinilab/SDAtools documentation built on Jan. 31, 2020, 3:51 a.m.