readQTess3: Convert TESS3 R object to pophelper qlist.
Description
Takes a TESS3 R object and convert to pophelper qlist for use
with pophelper.
Usage
readQTess3(t3list = NULL, progressbar = FALSE)
Arguments
t3list
A TESS3 object. An output from function tess3() from
package tess3r. This is not an external object. If imported from outside
of R, it must be read in as an Rdata or Rds file.
progressbar
A logical indicating if execution progress must be shown.
Value
A list of lists with dataframes (qlist) is returned. Each list item
is named by as sample1, sample2 etc. Within TESS3, 'tess3Main' attributes L,
n, ploidy, K, rmse and crossentropy are preserved as attributes in the qlist
dataframe.