Skip to contents

Load delimited data

Usage

load_delimited_data(data, sep = ";", warn_uninformative = TRUE)

Arguments

data

data.frame containing the described data

sep

string used to separate alleles

warn_uninformative

boolean whether or not to print message when removing uninformative loci

Details

Load data.frame with a sample_id column and the remaining columns are loci. Each cell contains a separator delimited string representing the observed alleles at that locus for that sample. Returned data contains vectors sample_ids and loci that are ordered as the results will be ordered from running the MCMC algorithm.