tfrdpub: Transfer personal genotype raw data according public dataset

Description Usage Arguments Value

Description

Transfer personal genotype raw data to g matrix which the number of row is 1 and the number of column is the number of SNPs used here.

Usage

1
tfrdpub(genotype, K, map, f)

Arguments

genotype

A data.frame contains your genotype information.

K

The number of populations

map

A data.frame, it should contain rsid, major allele and minor allele information for both plus and minus strands.

f

Frequency matrix learned from reference panel.

Value

A list contains g, q, f which can be used for calculation.


wegene-llc/radmixture documentation built on May 4, 2019, 2:06 a.m.