Last data update: 2014.03.03

R: The CEU-YRI admixed simulation data
ceuyriR Documentation

The CEU-YRI admixed simulation data

Description

The list data has five compoents: admixed, anc1, anc2, 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) and YRI (Yoruba in Ibadan, Nigeria (West Africa)).

Usage

ceuyri

Format

A list consisting of admixed (2300 rows, 30 columns), anc1 (2300 rows, 60 columns), anc2 (2300 rows, 60 columns), true.local.ancestry (2300 rows, 60 columns), and position (a vector of length 2300).

The elements of the matrixes (admixed, anc1, and2) 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 or 2. The physical positions (in base pairs unit) are in position.

Source

none

References

Yang, J. J., LI, J., Buu, A., and Williams, L. K. (2013) Efficient Inference of Local Ancestry. Bioinformatics. doi: 10.1093/bioinformatics/btt488

Examples

  data(ceuyri)
  str(ceuyri)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(EILA)
Loading required package: class
Loading required package: quantreg
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/EILA/ceuyri.Rd_%03d_medium.png", width=480, height=480)
> ### Name: ceuyri
> ### Title: The CEU-YRI admixed simulation data
> ### Aliases: ceuyri
> ### Keywords: datasets
> 
> ### ** Examples
> 
>   data(ceuyri)
>   str(ceuyri)
List of 5
 $ anc1               : num [1:150, 1:60] 0 0 2 1 2 0 0 0 0 0 ...
 $ anc2               : num [1:150, 1:60] 0 0 1 2 1 2 1 0 2 2 ...
 $ admixed            : num [1:150, 1:30] 0 0 0 2 1 2 2 2 1 2 ...
 $ true.local.ancestry: num [1:150, 1:30] 22 22 22 22 22 22 22 22 22 22 ...
 $ position           : int [1:150] 554340 751595 775852 878522 936897 980280 1031563 1079562 1145994 1201155 ...
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>