Question: PLINK dosage data - convert and/or read in R
1
gravatar for Travis
10 months ago by
Travis10
Travis10 wrote:

I have PLINK dosage files in the form pgen/psam/pvar. I would like to know how to do either/both of the following:

  1. Convert the file set to bed/bim/fam files (hard-calls)

  2. Read the allele dosage from pgen into R as a continuous variable

Thanks.

plink • 594 views
ADD COMMENTlink modified 10 months ago by chrchang5236.2k • written 10 months ago by Travis10

What have you tried?

ADD REPLYlink written 10 months ago by RamRS25k
2
gravatar for chrchang523
10 months ago by
chrchang5236.2k
United States
chrchang5236.2k wrote:

Convert to hard-calls: "plink2 --pfile ... --make-bed --out ..."

Convert to an R-readable form: "plink2 --pfile ... --export A-transpose --out ..."

ADD COMMENTlink written 10 months ago by chrchang5236.2k
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: 2314 users visited in the last hour