Question: Genotype information on illumina EPIC chip using the meffil package
0
gravatar for gunnhelenmoen
2.4 years ago by
gunnhelenmoen0 wrote:

Hi!

I'm trying to make the genotype file from the Illumina EPIC chip using the meffil package.

This is the documentation:

In R:

writeLines(meffil.snp.names(), con="snp-names.txt")

In the UNIX command shell (you will need plink1.90, available here)

plink --bfile dataset --extract snp-names.txt --recode A --out genotypes

In R:

genotypes <- meffil.extract.genotypes("genotypes.raw") 
genotypes <- genotypes[,match(samplesheet$Sample_Name, colnames(genotypes))]

However, the files the package want read in is the .idat files and as such I dont have any bed, bim and fam files (bfile format) for plink.

anyone who know how to make the idat files into a bfile format? Or is it another way to do this?

R • 781 views
ADD COMMENTlink modified 2.3 years ago by EagleEye6.7k • written 2.4 years ago by gunnhelenmoen0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1022 users visited in the last hour