Open ZJU-TingYun opened 1 year ago
same here I want to know why
Same here! Thanks for your efforts!
try re-install scRNAtoolVis.
try re-install scRNAtoolVis.
rlang::last_trace() <error/rlang_error> Error in
ggplot2::geom_text()
: ! Problem while setting up geom aesthetics. ℹ Error occurred in the 6th layer. Caused by error incheck_aesthetics()
: ! Aesthetics must be either length 1 or the same as the data (1470) ✖ Fix the following mappings:size
Backtrace: ▆
- ├─base (local)
<fn>
(x)- └─ggplot2:::print.ggplot(x)
- ├─ggplot2::ggplot_build(x)
- └─ggplot2:::ggplot_build.ggplot(x)
- └─ggplot2:::by_layer(...)
- ├─rlang::try_fetch(...)
- │ ├─base::tryCatch(...)
- │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
- │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
- │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
- │ └─base::withCallingHandlers(...)
- └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
- └─l$compute_geom_2(d)
- └─ggplot2 (local) compute_geom_2(..., self = self)
- └─self$geom$use_defaults(data, self$aes_params, modifiers)
- └─ggplot2 (local) use_defaults(..., self = self)
- └─ggplot2:::check_aesthetics(params[aes_params], nrow(data))
I am sorry I think the problem still there even I tried re-install
重新安装试试,刚看了一下代码,源码好像是有点问题
Thanks a ton. It works now! Few things I noticed:
Error in
ggplot2::geom_text()
: ! Problem while setting up geom aesthetics. ℹ Error occurred in the 6th layer. Caused by error incheck_aesthetics()
: ! Aesthetics must be either length 1 or the same as the data ()