example.data | R Documentation |
Generate example annotSnpStats data objects
example.data(m = 1:100, n = 1:10)
m |
vector of sample indices |
n |
vector of SNP indices |
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!
example data with given indices
Chris Wallace
# 10 samples, 20 snps
example.data(1:10,1:20)
# different 10 samples, same 20 snps
example.data(101:110,1:20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.