search for: motid

Displaying 3 results from an estimated 3 matches for "motid".

Did you mean: motd
2006 Apr 27
2
Incomplete Trio in TDT analysis
...73 0.7 2 31 0.3 NA 40 NA Genotype Frequency: Count Proportion 1/1 26 0.5 1/2 21 0.4 2/2 5 0.1 NA 20 NA Heterozygosity (Hu) = 0.4225168 Poly. Inf. Content = 0.3309022 tdt(Genotype.914186, MessWith, famid, pid, fatid, motid, sex, affected ) Transmission/disequilibrium test Data: Genotype.914186 Untransmitted allele frequencies, informative transmissions and exact P-values Allele Frequency Transmitted Untransmitted P-value 2 0.3333 3 2 1...
2006 May 02
4
Repeating tdt function on thousands of variables
...ter each variable is a specific locus or marker. The variables are named by a pattern such as "Genotype.nnnnn" with nnnnn corresponding to a number which is the name or id of the locus. I am able to get the tdt to run by each locus. >tdt(Genotype.914186, PGWide, famid, pid, fatid, motid, sex, affected ) Clearly I cannot type each locus in one at a time. Instead I want to loop it but am not sure how to do it. I tried lapply but it did not really work. The example in Dalgaard's book, >sapply( thuesen, mean, na. rm= T) seems to work with basic functions but not with someth...
2006 Apr 06
4
Reshaping genetic data from long to wide
...ottom Line Up Front: How does one reshape genetic data from long to wide? I currently have a lot of data. About 180 individuals (some probands/patients, some parents, rare siblings) and SNP data from 6000 loci on each. The standard formats seem to be something along the lines of Famid, pid, fatid, motid, affected, sex, locus1Allele1, locus1Allele2, locus2Allele1, locus2Allele2, etc In other words one human, one row. If there were multiple loci then the variables would continue to be heaped up on the right. This kind of orientation, shall be referred to as "wide". Given how big my datas...