mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 11:50:23 +01:00
27 lines
1.1 KiB
R
27 lines
1.1 KiB
R
% 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")
|
|
}
|
|
\arguments{
|
|
\item{x}{list of variables included. Has to be vectors of identifier numbers.}
|
|
|
|
\item{total}{data.frame, vector or integer to calculate or use as total number of participants for percentage calculation.}
|
|
|
|
\item{dec}{number of decimals for labels in plot. Standard set to 1.}
|
|
|
|
\item{label}{labels for easy creation of legend in plot().}
|
|
|
|
\item{shape}{same as for euler(). These includes c("circle","ellipse").}
|
|
}
|
|
\description{
|
|
Calculates relative overlaps and uses eulerr package to create Euler/Venn-diagrams. Use plot() to create diagram.
|
|
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.
|
|
Output is a list. First element is euler model for plotting. Others are for easy labeling.
|
|
}
|
|
\keyword{overlap}
|