Skip to contents

Generates a list of the default aesthetics used for HIDECAN plots.

Usage

hidecan_aes(colour_genes_by_score = TRUE)

Arguments

colour_genes_by_score

Logical, whether to colour the genes by score (TRUE) or by log2(fold-change) (FALSE). Default value is TRUE.

Value

A named list, with one element per type of data (e.g. GWAS, DE, etc). Each element is itself a list with the following elements:

  • y_label: prefix added to the name of a track on the y-axis of the plot.

  • line_colour: colour of the vertical line used to show the position of elements of this type.

  • point_shape: shape used for the points of this type.

  • show_name: whether a label with name value should be added to points of this type.

  • fill_scale: fill scale to use for the points of this type.