calculate.gamma.coordinates: Calculate gamma coordinates to draw the polygons

Description Usage Arguments Value Examples

View source: R/calculateCoordinates.R

Description

(beta) ^ + + (gamma) < + + + + v (alpha)

Usage

1
2
calculate.gamma.coordinates(freq_clones, xaxis_length, yaxis_length,
  xy_start = c(0, 0), debug = FALSE)

Arguments

freq_clones

A vector with the frequency of the clones freq_clones

xaxis_length

Length of the x-axis xaxis_length

yaxis_length

Length of the y-axis yaxis_length

xy_start

Coordinates for the starting point of the plot xy_start

Value

dataframe Returns a dataframe with x and y coordinates for point gamma

Examples

1
2
3
4
alpha_beta <- calculate.alpha.beta.coordinates(df[df$clone==1, ],
                                              xaxis_length=4,
                                              yaxis_length=yaxis_length_per_clone[1],
                                              xy_start=c(0,0))

sp00nman/evoplot documentation built on May 6, 2019, 6:59 p.m.