Learn R Programming

PBImisc (version 1.0)

milkgene: Mutation in BTN3A1 gene and milk yield

Description

It is known that BTN3A1 (Butyrophilin subfamily 3 member A1) has a crucial function in the secretion of lipids into milk. Doeas the SNP mutation in it change the average milk yield?

Usage

data(milkgene)

Arguments

Format

data.frame with 1000 obs. and 5 variables
cow.id
cow id, there is 465 cows in this study
btn3a1
btn3a1 genotype, a factor with two levels
lactation
for some cows there are milk yileds for four lactations for other only for the first one
milk, fat
milk and fat amount in kgs per lactation

Source

Artificial dataset generated to be consistent with Joanna Sz. study

Details

Milk and fat yields for 465 cows. For every cow also the genotype of btn3a1 is measured.

Examples

Run this code
data(milkgene)
library(lattice)
xyplot(milk~fat, data=milkgene)
bwplot(milk~lactation, data=milkgene)

Run the code above in your browser using DataLab