Esempi di statistica descrittiva e inferenziale/Analisi del proprio genoma: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Riga 132:
</syntaxhighlight>
 
<small><small>
DISEASE.TRAIT STRONGEST.SNP.RISK.ALLELE genotype
1 Skin reflectance (Melanin index) rs2272756-A AG
Line 139 ⟶ 140:
5 Epithelial ovarian cancer rs9442387-? CT
6 Blood protein levels rs3766186-C AC
 
STUDY
1 A genome-wide association study of skin and iris pigmentation among individuals of South Asian ancestry.
Line 146 ⟶ 148:
5 Genome-wide association studies identify susceptibility loci for epithelial ovarian cancer in east Asian women.
6 Co-regulatory networks of human serum proteins link genetics to disease.
</small></small>
 
 
Si estraggono dal dataset le righe relative agli alleli di rischio contenuti nel genotipo del signore.Ad esempio se l'allele è T e nel genotipo si trova AT.
Line 164 ⟶ 168:
</syntaxhighlight>
 
<small><small>
DISEASE.TRAIT STRONGEST.SNP.RISK.ALLELE genotype
1 Skin reflectance (Melanin index) rs2272756-A AG
Line 171 ⟶ 176:
18 Autoimmune thyroid disease rs2234167-A AG
19 Medication use (thyroid preparations) rs2234167-A AG
</small></small>
 
 
Si estraggono dal dataset le righe relative agli alleli di rischio contenuti nel genotipo del signore 2 volte. Ad esempio se l'allele è A e nel genotipo si trova AA.
 
 
 
<syntaxhighlight lang="rsplus">
Line 189 ⟶ 192:
select(DISEASE.TRAIT, STRONGEST.SNP.RISK.ALLELE, genotype,STUDY)
</syntaxhighlight>
<small><small>
 
DISEASE.TRAIT STRONGEST.SNP.RISK.ALLELE genotype
16 Body mass index rs7535528-G GG
Line 197 ⟶ 200:
37 Plateletcrit rs1569419-C CC
38 Platelet distribution width rs1569419-C CC
 
</small></small>
 
<syntaxhighlight lang="rsplus">