使用 R 绘制维恩图时出现错误。代码如下:
library(VennDiagram)
venn.plot <- draw.triple.venn(
area1 = 2249,
area2 = 2124,
area3 = 2133,
n12 = 2061,
n23 = 2101,
n13 = 2072,
n123 = 2030,
category = c("Human(all)", "Mouse(all)", "Rat(all)"),
col = "black",
alpha=0.5,
fill = c("darkorchid1", "cornflowerblue", "green"),
lty = "blank",
cex = 1,
cat.cex = 2,
cat.col = c("darkorchid4", "darkblue", "darkgreen")
);
tiff(filename = "2.f.tiff", compression = "lzw");
grid.draw(venn.plot);
dev.off();
它给了我一个错误:"draw.triple.venn(area1 = 2249, area2 = 2124, area3 = 2133, n12 = 2061,Impossible: partial areas negative"
为什么我的代码最终会出现此错误?