Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The CellStatPlot plot upset plot type error #272

Open
honghh2018 opened this issue Feb 25, 2025 · 0 comments
Open

The CellStatPlot plot upset plot type error #272

honghh2018 opened this issue Feb 25, 2025 · 0 comments

Comments

@honghh2018
Copy link

p1<-CellStatPlot(obj, stat.by = c("CD79A_Expressed","CD3E_Expressed"), plot_type = "upset",stat_level = T)

I want to plot the upset plot, but it getting error lying below:
Any advice for this issue?
Best,
hanhuihong

stat_type is forcibly set to 'count' when plot sankey, chord, venn or upset
Error in list2(...) : argument "scale_name" is missing, with no default
Calls: CellStatPlot ... StatPlot -> -> discrete_scale -> ggproto -> list2
Execution halted

sessionInfo()
R version 4.2.3 (2023-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS: /public/syssoft/R-4.2.3/lib64/R/lib/libRblas.so
LAPACK: /public/syssoft/R-4.2.3/lib64/R/lib/libRlapack.so

locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_4.2.3

packageVersion('SCP')
[1] ‘0.5.6’

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

No branches or pull requests

1 participant