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

3. Enter into VennDiagram
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

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR