junjunlab / GseaVis

An implement R package to visualize GSEA results
Other
131 stars 15 forks source link

Error in `check_aesthetics()`: ! Aesthetics must be either length 1 or the same as the data (1): xend, x and y #3

Open Gambrian opened 2 years ago

Gambrian commented 2 years ago

gseaNb的第256行 if (is.null(geneLabel))似乎应该改为if(dim(geneLabel)[1] == 0),因为geneLabel取不到值的时候,是一个空的dataframe,而不是空值,会导致is.null()判断为False。

junjunlab commented 2 years ago

谢谢你的建议,已经修改为nrow(geneLabel) == 0, 感谢使用!