Description Usage Arguments Details Value Author(s)
View source: R/Venn2Plot.csv.R
Function to make Venn diagrams from two tables containing the columns with array ids or gene symbols, ideally both of them. Results are shown in a plot, and the lists of genes corresponding to each region can be obtained with mkExcel (Excel format) and mkCSV (csv format) options.
1 |
listG1 |
First list of genes to compare in the Venn diagram. It has to be a data.frame with columns "AffyID" or "Symbol", ideally both of them. |
listG2 |
Second list of genes to compare in the Venn diagram. It has to be a data.frame with columns "AffyID" or "Symbol", ideally both of them. |
listNames |
Vector with the names of listG1 and listG2. |
filename |
Name of the output files. |
data4T |
Table with the structure of data4Tyers with columns named scaled at the begining. |
symbols |
Logical. Use symbols instead of AffyID to make plots. |
mkExcel |
Logical. If TRUE makes an .xlsx file with the lists of genes corresponding to each region. |
mkCSV |
Logical. If TRUE makes a .csv file for the genes corresponding to each region. |
colnmes |
Column names corresponding to the array IDs and gene symbols in the data frame data4T. |
img.fmt |
Default "pdf", if "png" the Venn plot is generated in .png image format. |
If the option symbols is TRUE a column with the array ids has to be also provided to the function lists in order to create the .csv and .xlsx files and the data4T data frame has to have several columns with the name scaled at the beginning of the table.
Venn diagram plot in .pdf format. If the option mkExcel is TRUE an .xlsx file is created where each sheet is a region of the venn diagram. If the option mkCSV is TRUE several .csv files are created corresponding to each region of the venn diagram.
Magdalena Arnal Segura <marnal@imim.es>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.