project_to_population: Map sample names to population names.

Description Usage Arguments Details

View source: R/project_and_split.R

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.


mailund/admixture_graph documentation built on May 21, 2019, 11:06 a.m.