Skip to contents

Load long form data

Usage

load_long_form_data(df, warn_uninformative = TRUE)

Arguments

df

data frame with 3 columns: sample_id, locus, allele. Each row is a single observation of an allele at a particular locus for a given sample.

warn_uninformative

boolean whether or not to print message when removing uninformative loci

Details

Long form data is a data frame with 3 columns: sample_id, locus, allele. Returned data contains vectors sample_ids and loci that are ordered as the results will be ordered from running the MCMC algorithm.