knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(RNAseqStat)

RNAseqStat::enhance_volcano can make a volcano from DEG data frame which contains log Fold Change and P value.

enhance_volcano(DEG_df,x = 'log2FoldChange', y = 'pvalue')

Show more top genes.

enhance_volcano(DEG_df,x = 'log2FoldChange', y = 'pvalue',top = 20)

highlight special gene

enhance_volcano(DEG_df,x = 'log2FoldChange', y = 'pvalue', highlight = c("KRT80","ALPP"))


xiayh17/RNAseqStat documentation built on June 16, 2022, 11:51 a.m.