admixed
, anc1
, anc2
,
anc3
, true.local.ancestry
, position
.
The data matrixes were simulated data using the allele frequencies from
HapMap Population CEU (Utah residents with Northern and Western
European ancestry from the CEPH collection), CHD (Chinese in
Metropolitan Denver, Colorado), and YRI (Yoruba in
Ibadan, Nigeria (West Africa)).
ceuchdyri
admixed
(10000 rows, 30 columns),
anc1
(10000 rows, 60 columns), anc2
(10000 rows, 60
columns), anc3
(10000 rows and 60 columns),
true.local.ancestry
(10000 rows, 60 columns), and
position
(a vector of length 10000). The elements of the matrixes (admixed
, anc1
,
anc2
, anc3
) are the genotypes being coded as the number of copies of
the variant allele present, 0, 1 or 2. The elements of matrix
true.local.ancestry are the true local ancestries being coded
as alleles identification from ancestries 1, 2, or 3. The physical
positions (in base pairs unit) are in position. data(ceuchdyri)
str(ceuchdyri)
Run the code above in your browser using DataLab