EnhancedVolcano selectLab() for custom labels but only those above Pvalue threshold
0
0
Entering edit mode
2.2 years ago

When using EnhancedVolcano how can I use the selectlabs() option whilst still only labelling those above the significance threshold?

I have tried subletting the DESeq2 results object but I still get genes below the threshold labelled:

cazyme_volc_PreVsF_labled = EnhancedVolcano(res_cazyme_PreVsF,
                                     selectLab = rownames(res_cazyme_PreVsF[(row.names(res_cazyme_PreVsF) %in% known_ECs$EC) & (!is.na(res_cazyme_PreVsF$padj)) & (res_cazyme_PreVsF$padj <= 0.05),]),
                                      lab = rownames(res_cazyme_PreVsF),
                                      title = "Pre vs Field",
                                      x = 'log2FoldChange',
                                      y = 'pvalue',
                                     drawConnectors = TRUE,
                                     widthConnectors = 1.0,
                                     colConnectors = 'black',
                                     boxedLabels = FALSE,
                                     max.overlaps = 100)
EnhancedVolcano Deseq2 R • 441 views
ADD COMMENT

Login before adding your answer.

Traffic: 2547 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6