Question: PLINK dosage data - convert and/or read in R
1
gravatar for Travis
16 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 • 902 views
ADD COMMENTlink modified 16 months ago by chrchang5236.9k • written 16 months ago by Travis10

What have you tried?

ADD REPLYlink written 16 months ago by RamRS27k
2
gravatar for chrchang523
16 months ago by
chrchang5236.9k
United States
chrchang5236.9k 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 16 months ago by chrchang5236.9k
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: 1692 users visited in the last hour