dat30: dat30 data set adapted from multic R package

Description Format Details Source Examples

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.

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.

Source

https://cran.r-project.org/package=multic

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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)

solarius documentation built on May 2, 2019, 2:43 a.m.