Description
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’