strc_evanno: Compute Evanno

Description Usage Arguments Details Examples

View source: R/evanno.R

Description

[Experimental] Compute classical Evanno from structure summary file and return a graphic

Usage

1
strc_evanno(df, plot = c("none", "full", "resume"), plot.max = TRUE)

Arguments

df

Dataframe with structure results

plot

If it return a plot, with full view (4 panels) or all within the same figure

plot.max

in the graph, return the max value

Details

more details to come ...

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# How to data should look
head(strcSummary.data)

# To perform Evanno without plot
res <- strc_evanno(strcSummary.data, plot = "none")
names(res)

# Different plot options
res <- strc_evanno(strcSummary.data, plot = "full", plot.max = FALSE)
res <- strc_evanno(strcSummary.data, plot = "resume", plot.max = TRUE)

biodray/QuickPop documentation built on Dec. 19, 2021, 9:44 a.m.