Last data update: 2014.03.03

R: A dataset used in example of 'rARTP'.
dataR Documentation

A dataset used in example of rARTP.

Description

A data frame data with 6000 observations on subject IDs, outcome, covariates, and 152 SNPs.

Usage

data(data)

Examples

data(data)
head(data[, 1:7])

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(ARTP2)
Loading required package: Formula
Loading required package: data.table
Loading required package: parallel
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/ARTP2/data.Rd_%03d_medium.png", width=480, height=480)
> ### Name: data
> ### Title: A dataset used in example of 'rARTP'.
> ### Aliases: data
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(data)
> head(data[, 1:7])
   SUBID case_control sex    age      bmi study rs11578799
1 SUBID1            1   M 41to50 18.81663     2          2
2 SUBID2            1   F 30to40 16.46630     1          2
3 SUBID3            1   M   gt50 31.44187     1          1
4 SUBID4            1   F 41to50 16.95436     2          2
5 SUBID5            1   F 41to50 37.71600     4          1
6 SUBID6            1   M   gt50 18.22367     5          2
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>