ploidevol_dataset: Cleans and organizes dataset for PloidEvol analyses

Description Usage Arguments Details Value See Also

Description

Cleans and organizes dataset for PloidEvol analyses

Usage

1
ploidevol_dataset(ploidies, size = 12)

Arguments

ploidies

a vector with ploidy values, and taxon row.names

size

maximum ploidy value allow for analyses, by default is 12. See details for more information.

Details

This function cleans and organizes a vector of ploidies assuming ploidy values range from 2x to 12x. It deletes values larger than 12x and redefines ploidy values as value-1 since Q_ploidevol indices range from 1 to 11. If larger ploidy values are needed user needs to specify own Q.FUN to use in negloglikelihood.

Value

ploidy.dataset a data frame whose first column is taxon name and second column the ploidy values-1. Saves the data frame as .txt file for future references. See details.

See Also

negloglikelihood


roszenil/chromploid documentation built on May 27, 2019, 11:42 p.m.