代码
library(ggVolcano)
data(deg_data)
<- add_regulate(deg_data,
data log2FC_name = "log2FoldChange",
fdr_name = "padj", log2FC = 1, fdr = 0.05
)
ggvolcano(data,
x = "log2FoldChange", y = "padj",
label = "row", label_number = 10, output = FALSE
+
) ::scale_color_aaas() +
ggsci::scale_fill_aaas() ggsci