pophelper (version 2.3.0)

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.

Details

See the vignette for more details.

Examples

Run this code
# NOT RUN {
t3obj <- readRDS(system.file("files/tess3.rds",package="pophelper"))
t3list <- readQTess3(t3obj)
# }

Run the code above in your browser using DataCamp Workspace