ancfreq_c: ancfreq_c

View source: R/RcppExports.R

ancfreq_cR Documentation

ancfreq_c

Description

Calculating the allele frequency in two different ancestral population

Usage

ancfreq_c(n, type, pop1, n_pop1, n_pop2, pop2, input, output)

Arguments

n

an integer, the number of individuals contain in the input

type

1 or 2, specifying diploid/haploid data.

pop1

a numeric vector of index for reference population 1, sep = ' '

n_pop1

number of individual for ref pop 1

n_pop2

number of individual for ref pop 2

pop2

a numeric vector of index for reference population 2, sep = ' '

input

the dir of the input genolik file

output

the dir of the output ancfreq file


lycium0605/rLCLAE documentation built on Aug. 28, 2024, 11:35 p.m.