Problem in cnetplot visualisation

Open
#284 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
r

Research direction

Start by reproducing the two cnetplot calls in the R Markdown workflow with showCategory set to 2 and 3. Capture the exact error and compare the resulting visualisations; the issue is complete when the inconsistent behaviour is explained or corrected and the reproduction details are documented.

Written by the indexing model from the issue text.

Description

I used two different showCategories numbers

Type-1
cnetplot(xx1,pie="count", cex_category=1.5, layout="kk", showCategory = 2, label_style="ggforce", shadowtext = FALSE, cex_label_category = 1.25, cex_label_gene = 1, legend_n=3)
type1

Type-2
cnetplot(xx1,pie="count", cex_category=1.5, layout="kk", showCategory = 3, label_style="ggforce", shadowtext = FALSE, cex_label_category = 1.25, cex_label_gene = 1, legend_n=3)

type2

Using Rscript, I run the .Rmd file, this error is consistent consistent

Dominant language
R
Stars
260
Forks
75
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from YuLab-SMU/enrichplot

All issues in YuLab-SMU/enrichplot

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.