Learn R Programming

ASPBay (version 1.2)

ASP.Score: Score test of association

Description

Calculate score statistics and the associated P-value for each SNPs

Usage

ASP.Score(Tem_Gen, Index_Gen, IBD)

Arguments

Tem_Gen
Genotypes of controls (denoted by the number of alternative allele)
Index_Gen
Genotypes of Index cases
IBD
IBD states for each affected sib pair

Value

  • List of 2 vectors of length the number of SNPs:
  • ValueStatistic values for each SNPs
  • PvalueP-values of the score test for each SNPs

Details

Give the values of statistic and p-value of the association score test.

References

Perdry, Herve, Muller-Myhsok, Bertram, et Clerget-Darpoux, Francoise. Using affected sib-pairs to uncover rare disease variants. Hum Hered, 2013.

See Also

ASP.Selection

Examples

Run this code
data(ASPData)
ASP.Score(ASPData$Control, ASPData$Index, ASPData$IBD )

Run the code above in your browser using DataLab