combine_corr_chr: Calculate Correlation in Local Ancestry (K = 3)

Description Usage Arguments Value See Also

View source: R/combine_corr_chr.R

Description

Create single data frame with average correlation of local ancestry for pairs of SNPs varying distances apart. Combines data for each chromosome generated by get_corr_chr(). Code is currently applicable only to admixed populations with three ancestral populations.

Usage

1
combine_corr_chr(cor.list)

Arguments

cor.list

list of data tables, one per chromosome, generated by get_corr_chr().

Value

A data table with the average correlation in local ancestry, to be used for estimating the number of generations since admixture using get_g.

See Also

get_g and get_corr_chr


GrindeLab/STEAMcpp_mirror documentation built on Dec. 31, 2020, 12:05 p.m.