PointVolcano: Showing gene labels and highlighting gene points in a volcano...

View source: R/Visualization_DEGvolcano.R

PointVolcanoR Documentation

Showing gene labels and highlighting gene points in a volcano plot in ggplot

Description

specific some genes to label

Usage

PointVolcano(
  object,
  which,
  category = "H",
  gene,
  light = NULL,
  light_color = "#24ac56",
  light_label_color = "#24ac56",
  expend = c(0.12, 0.12),
  nudge_y_up = -6.5,
  nudge_y_down = -4
)

Arguments

object

an DEGContainer

which

limma edgeR or DESeq2

category

MSigDB collection abbreviation, such as H or C1.

gene

number or gene name

light

number or gene name

light_color

character

light_label_color

character

expend

c(0.12, 0.12)

nudge_y_up

nudge up gene label in y direction

nudge_y_down

nudge down gene label in y direction

Value

a ggplot ob

Examples

PointVolcano(DEGContainer,"limma")

xiayh17/RNAseqStat2 documentation built on May 27, 2023, 12:13 p.m.