daDoctoR/man/euler_plot.Rd

27 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-11-19 09:10:42 +01:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/euler_plot.R
\name{euler_plot}
\alias{euler_plot}
\title{Creates Euler model from list of identifier numbers.}
\usage{
euler_plot(x, total, dec = 1, label = as.character(c(1:5)), shape = "ellipse")
2019-11-19 09:10:42 +01:00
}
\arguments{
\item{x}{list of variables included. Has to be vectors of identifier numbers.}
2019-11-19 09:48:03 +01:00
\item{total}{data.frame, vector or integer to calculate or use as total number of participants for percentage calculation.}
2019-11-19 10:34:03 +01:00
\item{dec}{number of decimals for labels in plot. Standard set to 1.}
\item{label}{labels for easy creation of legend in plot().}
2019-11-19 09:10:42 +01:00
\item{shape}{same as for euler(). These includes c("circle","ellipse").}
}
\description{
2019-11-19 09:48:03 +01:00
Calculates relative overlaps and uses eulerr package to create Euler/Venn-diagrams. Use plot() to create diagram.
2019-11-19 09:10:42 +01:00
Combined with an evolved calculate.overlap() from the VennDiagram library.
Up to five (5) dimensions. Limit set by the complexity of combinations. euler() supports more.
2019-11-19 10:34:03 +01:00
Output is a list. First element is euler model for plotting. Others are for easy labeling.
2019-11-19 09:10:42 +01:00
}
\keyword{overlap}