I have finished an anaysis by using FST matrix as a distance matrix for the .diffs input file. When I using the reemsplots2 to plot the results, it reports errors
The code I used was as follows:
library("reemsplots2")
mcmcpath_enmt <- system.file("extdata", "enchina_mt22P_chain1", package = "reemsplots2")
plots_enmt <- make_eems_plots(mcmcpath_enmt, longlat = TRUE, add_grid = TRUE, add_demes = TRUE, m_colscale = c(-2.5, +2.5))
The errors I encountered was as follows:
Joining, by = "id"
New names:
x -> x...1
y -> y...2
x -> x...3
y -> y...4
Generate effective migration surface (posterior mean of m rates). See plots$mrates01 and plots$mrates02.
Generate effective diversity surface (posterior mean of q rates). See plots$qrates01 and plots$qrates02.
There should be at least two observed demes to plot pairwise dissimilarities
Generate average dissimilarities within and between demes. See plots$rdist01, plots$rdist02 and plots$rdist03.
Error in UseMethod("filter") :
no applicable method for 'filter' applied to an object of class "NULL"
I have aslo attached the results of the eems analysis.
Hello,
I have finished an anaysis by using FST matrix as a distance matrix for the .diffs input file. When I using the reemsplots2 to plot the results, it reports errors The code I used was as follows: library("reemsplots2") mcmcpath_enmt <- system.file("extdata", "enchina_mt22P_chain1", package = "reemsplots2") plots_enmt <- make_eems_plots(mcmcpath_enmt, longlat = TRUE, add_grid = TRUE, add_demes = TRUE, m_colscale = c(-2.5, +2.5))
The errors I encountered was as follows: Joining, by = "id" New names:
x
->x...1
y
->y...2
x
->x...3
y
->y...4
Generate effective migration surface (posterior mean of m rates). See plots$mrates01 and plots$mrates02. Generate effective diversity surface (posterior mean of q rates). See plots$qrates01 and plots$qrates02. There should be at least two observed demes to plot pairwise dissimilarities Generate average dissimilarities within and between demes. See plots$rdist01, plots$rdist02 and plots$rdist03. Error in UseMethod("filter") : no applicable method for 'filter' applied to an object of class "NULL"I have aslo attached the results of the eems analysis.
enchina_mt22P_chain1.zip
Bests,
Jinyu