example.data: example.data

View source: R/AAutils.R

example.dataR Documentation

example.data

Description

Generate example annotSnpStats data objects

Usage

example.data(m = 1:100, n = 1:10)

Arguments

m

vector of sample indices

n

vector of SNP indices

Details

Useful for testing the functions in annotSnpStats. Note that the example data are taken from the for.exercise dataset in snpStats and contain 1000 samples, and 29501 SNPs, so don't expect to get anything larger than that!

Value

example data with given indices

Author(s)

Chris Wallace

Examples

# 10 samples, 20 snps
example.data(1:10,1:20)
# different 10 samples, same 20 snps
example.data(101:110,1:20)

chr1swallace/annotSnpStats documentation built on April 18, 2023, 11:22 a.m.