plot_venn: venn plot

View source: R/plot.R

plot_vennR Documentation

venn plot

Description

A wrapper function of venn plot. save_plot in different formats, including pdf, tiff, eps, and png (different journals may require different formats).

Usage

plot_venn(
  x,
  color = NULL,
  category.names = NULL,
  filename = NULL,
  imagetype = "png",
  height = 800,
  width = 1200,
  units = "px",
  resolution = 300,
  compression = "lzw",
  lwd = 3,
  lty = "blank",
  fill = color,
  cex = 0.8,
  fontfamily = "sans",
  cat.cex = 0.8,
  cat.default.pos = "outer",
  cat.pos = c(0, 0, 0, 0, 0, 0, 0),
  cat.dist = c(0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1)
)

Arguments

x

A list of data.

color

color for the venn, default is Set1 from brewer.pal.

category.names

label, default is the names in the list.

filename

file name to save

imagetype

"png" or "tiff"

height

default value 800

width

default value 1200

units

default value "px",

resolution

default value 300

compression

default value "lzw"

lwd

default value 3,

lty

default value 'blank',

fill

default value is the same as color

cex

default value .8,

fontfamily

default value "sans",

cat.cex

default value 0.8,

cat.default.pos

default value "outer",

cat.pos

default value c(0, 0, 0, 0, 0, 0, 0),

cat.dist

default value c(0.1, 0.1, 0.1, 0.1, 0.1,0.1, 0.1)


XikunHan/geneticToolBox documentation built on Jan. 3, 2023, 4:12 a.m.