R TIPs: How to get venn diagram in PDF format using VennDiagram?
1. Download VennDiagram_1.6.16.tar.gz
wget https://cran.r-project.org/src/contrib/VennDiagram_1.6.16.tar.gz
2. Uncompress
tar zxvf VennDiagram_1.6.16.tar.gz
cd VennDiagram
4. Open R/venn.diagram.R
5. Insert the codes below in line 486.
# PDF image type specified
else if('pdf' == imagetype) {
pdf(
filename = filename,
height = height,
width = width
);
}
Comments
Post a Comment