% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nVenn2.R
\name{setVennSkin}
\alias{setVennSkin}
\title{Set nVenn diagram appearance}
\usage{
setVennSkin(nVennObj, params, plot = TRUE)
}
\arguments{
\item{nVennObj}{nVenn object generated with \code{\link[=nVennDiagram]{nVennDiagram()}}.}

\item{params}{List of graphical options, as in \code{\link[=setVennOpts]{setVennOpts()}}, plus two
special parameters: \code{palette} to set a color palette as in \code{\link[=setVennPalette]{setVennPalette()}}
and \code{colors} to change set colors as in \code{\link[=setVennColors]{setVennColors()}}.}

\item{plot}{If true (default), plots the diagram after the operation.}
}
\value{
nVenn object with skin applied
}
\description{
Set nVenn diagram appearance
}
\details{
Running this function is equivalent to running \code{\link[=setVennOpts]{setVennOpts()}} repeatedly.
The advantage is that \code{\link[=setVennSkin]{setVennSkin()}} can set multiple parameters at the
same time. The same \code{params} list can be used on multiple nVenn objects
as a theme.

The only valid parameters for \code{params} are those in \code{\link[=setVennOpts]{setVennOpts()}},
\code{palette} and \code{colors}.
}
\examples{
theme <- list(opacity=0.2, lineWidth=2, fontSize=14, showRegions=FALSE,
              palette=2, colors=c("black"))
myv <- nVennDiagram(exampledf)
myv <- setVennSkin(myv, theme)
}
