Learn R Programming

kangar00 (version 1.4.2)

pheno: Example phenotype file for 50 individuals.

Description

A dataset containing simulated example phenotypes for 50 individuals row names include the identifiers of 50 example individuals.

Usage

data(pheno)

Arguments

Format

A data frame with 50 rows and 3 variables:

pheno

includes the case-control status for each individual, coded as 1(case) or 0 (control)

sex

includes gender information for the 50 individuals, coded as 1 (male) or 0 (female)

age

numerical value giving the persons age

Examples

Run this code
data(pheno)
head(pheno)
# create gwas object
data(geno)
data(anno)
gwas <- new('GWASdata', pheno=pheno, geno=geno, anno=anno, desc="some study") 

Run the code above in your browser using DataLab