longPheno.dat(SimHap)
longPheno.dat()所属R语言包:SimHap
Example phenotypic, longitudinal data
示例表型,纵向数据
译者:生物统计家园网 机器人LoveR
描述----------Description----------
longPheno.dat is an example phenotypic data set containing biological measures to be used by snp.long and haplo.long
longPheno.dat就是一个例子,表型数据集,其中包含生物被使用snp.long和haplo.long,措施,
用法----------Usage----------
data(longPheno.dat)
格式----------Format----------
A data frame with 601 observations on the following 12 variables.
一个数据框的601以下12个变量的观察。
ID patient identifier.
ID病人的标识符。
year year of survey.
year年的调查。
time time point in years, where 1966=1.
time时间点的岁月里,1966年= 1。
sex 1=male, 0=female.
sex1 =男,0 =女性。
age age in years.
age年龄在几年。
height height in metres.
height身高(米)。
weight weight in kilograms.
weight体重(公斤)。
bmi body-mass index.
bmi的身体质量指数。
fev1f forced expired volume in the first second - measure of lung function.
fev1f被迫在第一第二的到期量 - 衡量肺功能的。
Details
详细信息----------Details----------
longPheno.dat was simulated to take the format of the Busselton Health Survey from Western Australia.
longPheno.dat模拟的格式为来自西澳大利亚的的巴瑟尔顿健康调查。
实例----------Examples----------
data(SNPlong.dat)
# transforms SNPlong.dat to an object containing 3 columns[转换到一个对象,它包含3列的SNPlong.dat]
# per SNP - additive, dominant and recessive, where genotypes[每个SNP - 添加剂,显性和隐性的,其中基因型]
# defined in 'baseline' serve as the baseline genotypes[中定义的“基线”作为基线基因型]
longGeno.dat <- SNP2Geno(SNPlong.dat, baseline=c("AA", "GG", "V2V2"))
data(longPheno.dat)
mymodel <- snp.long(fixed=fev1f~SNP_1_add, random=~1|ID,
geno=longGeno.dat, pheno=longPheno.dat, form=~year|ID)
summary(mymodel)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|