project_to_population: Map sample names to population names.

Description Usage Arguments Details

Description

Map sample names to population names.

Usage

1

Arguments

data

The data frame to modify.

f

Function mapping sample names to population names.

Details

This function maps the sample names in W, X, Y, and Z to population names (typically what an admixture graph has for leaves) and stores the original sample names so we can map them back again after using the graph for making predictions.


admixturegraph documentation built on May 2, 2019, 6:02 a.m.