Learn R Programming

ARTP (version 2.0.5)

geno_data: Sample genotype data

Description

Sample genotype data for runPermutations

Arguments

Details

geno_data.rda is a type 1 data file (see file.type in snp.list). This data contains 50 SNPs and 500 subjects, and is tab delimited. The first row of the data contains the subject ids. Starting from row 2, are the SNP ids and the genotypes for each subject. The genotypes are coded as AA, AG, GG.

Examples

Run this code
# NOT RUN {
 # Load and print a substring the first 5 lines
 data(geno_data, package="ARTP")
 
 substring(geno_data[1:5], 1, 50)
# }

Run the code above in your browser using DataLab