magora_volcano_plot: Volcano plot for gene expression data

View source: R/magora_volcano_plot.R

magora_volcano_plotR Documentation

Volcano plot for gene expression data

Description

Volcano plot for gene expression data

Usage

magora_volcano_plot(
  data,
  data_labels,
  type = "ggplot2",
  facet = TRUE,
  save_name,
  sample_frac = 1,
  use_theme_sage = TRUE
)

Arguments

data

Gene expression data from gene_expressions, optionally filtered.

data_labels

Labels for expression data from gene_expressions, optionally filtered. Only required if type is "ggplot2".

type

Type of plot - one of "ggplot2" or "plotly". Defaults to "ggplot2".

facet

Whether to facet the data by sex and age. Defaults to TRUE.

save_name

A name that will be used for saving the plot. Only required / used when type is "plotly".

sample_frac

The fraction of genes that are "not significant" that will be shown in the plot. Useful when there is a lot of data that slows down rendering. Defaults to 1.

use_theme_sage

Whether to use theme_sage. Defaults to TRUE.


Sage-Bionetworks/magora documentation built on July 17, 2022, 7:56 a.m.