error_bar_plot {genogeographer}R Documentation

Plot log likelihoods of profiles with approximate confidence intervals

Description

Plots the estimated profile probabilities in each population. The colour depends on the profiles likelihood and rejection/acceptance (blue/red) based on z-score

Usage

error_bar_plot(data)

Arguments

data

The output from the genogeo function

Value

A barplot of the log likelihoods for each population with confidence limits

Author(s)

Torben Tvedebrink, tvede@math.aau.dk

Examples

df_ <- simulate_pops(pop_n = 20, aims_n = 50)
df_db <- pops_to_DB(df_)
profile <- random_AIMs_profile(df_db, keep_pop = TRUE)
profile$pop[1] # The true population
result <- genogeo(profile[,c("locus","x0")], df = df_db)
error_bar_plot(result)

[Package genogeographer version 0.1.19 Index]