readQTess3: Convert TESS3 R object to pophelper qlist.

Description Usage Arguments Details Value Examples

View source: R/pophelper.R

Description

Takes a TESS3 R object and convert to pophelper qlist for use with pophelper.

Usage

1
readQTess3(t3list = NULL, progressbar = FALSE)

Arguments

t3list

A TESS3 object. An output from function tess3() from package tess3r.

progressbar

A logical indicating if execution progress must be shown.

Details

See the vignette for more details.

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.

Examples

1
2
t3obj <- readRDS(system.file("files/tess3.rds",package="pophelper"))
t3list <- readQTess3(t3obj)

royfrancis/pophelper documentation built on Aug. 21, 2018, 4:48 a.m.