ConvertStructureDataToTrees: Use Structure data

Description Usage Arguments Author(s) References Examples

View source: R/phrapl-utilities.R

Description

This function uses the $snps element of the list returned by ReadStructureData() and creates a set of trees you can use in GridSearch or elsewhere with the doSNP=TRUE argument set. It returns a multiphylo object. Missing data (-9 in the original file) are removed.

Usage

1

Arguments

snps

The output of ReadStructureData, the snps object

Author(s)

Brian O'Meara, Bryan Carstens, Nathan Jackson, Ariadna Morales-Garcia

Maintainer: Brian O'Meara <bomeara@utk.edu>

References

O'Meara, B.C., N. Jackson, A. Morales-Garcia, and B. Carstens (2014) Phrapl in prep.

Examples

1
#snptrees <- ConvertStructureDataToTrees(ReadStructureData(file="mydata")$snps)

bomeara/phrapl documentation built on Feb. 8, 2021, 6:45 p.m.