An introduction to genetic analysis