Running examples in 'mpMap2-Ex.R' failed
The error most likely occurred in:

> ### Name: callFromMap
> ### Title: Call markers based on an existing map
> ### Aliases: callFromMap
> 
> ### ** Examples
> 
> data(eightParentSubsetMap)
> data(wsnp_Ku_rep_c103074_89904851)
> data(callFromMapExampleLocalisationStatistics)
> library(ggplot2)
> library(gridExtra)
> #We use an existing set of localisation statistics, to make the example faster
> called <- callFromMap(rawData = as.matrix(wsnp_Ku_rep_c103074_89904851), existingImputations = 
+     eightParentSubsetMap, useOnlyExtraImputationPoints = TRUE, tDistributionPValue = 0.8, 
+     thresholdChromosomes = 80, existingLocalisationStatistics = existingLocalisationStatistics)
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
Warning in igraph::max_cliques(igraph::graph_from_adjacency_matrix(adjacencyMatrix)) :
  At maximal_cliques_template.h:203 :Edge directions are ignored for maximal clique calculation
> plotData <- wsnp_Ku_rep_c103074_89904851
> plotData$genotype1B <- factor(called$classificationsPerPosition$Chr1BLoc31$finals)
Error in `$<-.data.frame`(`*tmp*`, genotype1B, value = integer(0)) : 
  replacement has 0 rows, data has 3412
Calls: $<- -> $<-.data.frame
Execution halted