Skip to content

Conversation

@ivokwee
Copy link
Contributor

@ivokwee ivokwee commented Nov 22, 2025

Summary

  • Add new fc_threshold parameter to cnetplot.enrichResult function
  • Filters genes to only include those with |foldChange| > fc_threshold
  • Allows users to plot only high fold-change genes (e.g., fc_threshold = 1)

Usage

cnetplot(x, foldChange = fc, fc_threshold = 1)

Example

Left: cnetplot with fc_theshold=NULL (=0) default behaviour plotting all genes for concept.
Right: cnetplot with fc_threshold=1.5. Plotting only genes with abs(fc)>1.5. The plot is smaller and better readable.

ivokwee and others added 2 commits November 21, 2025 18:13
…ange

Add new fc_threshold parameter that filters genes to only include those
with absolute fold change greater than the threshold. This allows users
to plot only genes with |foldChange| > fc_threshold (e.g., fc_threshold = 1).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Add fc_threshold parameter to cnetplot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant