Learn R Programming

solarius (version 0.3.0.2)

dat30: dat30 data set adapted from multic R package

Description

29 first families were selected from the complete data set of 12000 individuals. For a resulted subset of 174 individuals, a hundred of synthetic SNPs were randomly generated. Annotation information also was generated, mainly in order to plot the association results with Manhattan plot.

Arguments

Format

(Phenotypes) A data frame dat30 with 174 rows and 10 variables:
famid
Family ID (29 unique ids).
id
Individual ID.
fa
Father ID.
mo
Mother ID.
sex
Individual gender (1 - male, 2 - female).
affect
Affected status (1 - unaffected, 2 - affected).
class
Class label.
trait1
Simulated phenotype 1.
trait2
Simulated phenotype 2.
age
Age.
(Genotypes as covariates) A matrix genocovdat30 with 174 rows and 100 columns. Row names are IDs of individuals, column names are names of SNPs. (Annotation) A data frame mapdat30 with 100 rows and 4 variables:
SNP
SNP name.
chr
Chromosome.
pos
Position in bp.
gene
Gene.

Details

Two simulated phenotypes possess a high genetic correlation.

Examples

Run this code
data(dat30)

str(dat30)

plotPed(dat30, 2) # plot the pedigree tree for family #2

## Not run: 
# kin2 <- solarKinship2(dat30)
# plotKinship2(kin2)
# plotKinship2(kin2[1:30, 1:30])
# 
# ## End(Not run)
str(genocovdat30)

genocovdat30[1:5, 1:5]
str(mapdat30)

head(mapdat30)

Run the code above in your browser using DataLab