Hi!
I have received three plink files: *bed, *bim, and *fam, from which I need to extract two columns of data in a human readable form. The files contain some information on patients' genotypes and survival times.
I have managed to extract the genotype information by creating a *ped file (under plink 1.07-3 in Debian, Linux):
p-link --bfile mar2 --recode --tab --out outfile
The resulting file contains the following columns (each row is a patient):
family_ID sample_ID paternal_ID maternal_ID sex affection genotype
But there is no information on patients' survival times. Does anybody know how to extract them?
I don't know neither its column name, nor the way this information is encoded in the binaries. Probably I need to list all column names first and guess which one is the right one, but I don't know how to do it. Or maybe there exist some standard way to encode survival times in plink?
I would be grateful for a detailed instruction, as I am not a regular plink user (and don't really want to be - I just need these two columns of data).
Thanks for help.
In your binaries files, the phenotype is the 6th column of your fam file. If this column is not what you are looking for, then you don't have what you want.