Description Usage Arguments Value Author(s) See Also
Creates object of class snp.data-class
1 2 3 4 5 6 7 | snp.data(nids, rawdata, idnames = as.character(c(1:nids)),
snpnames = as.character(c(1:(length(rawdata)/ceiling(nids/4)))),
chromosome = as.factor(rep(1,(length(rawdata)/ceiling(nids/4)))),
map = as.double(seq(1,(length(rawdata)/ceiling(nids/4)))),
coding=as.raw(rep(1,length(rawdata)/ceiling(nids/4))),
strand=as.raw(rep(0,length(rawdata)/ceiling(nids/4))),
male = rep(0, nids))
|
nids |
number of people |
idnames |
list of IDs |
male |
male indicator for IDs |
snpnames |
list of SNP names |
chromosome |
list of chromosomes SNPs belong to |
coding |
list of nucleotide coding for the SNPs |
strand |
strands of the SNPs |
map |
map position of SNPs |
rawdata |
genotypes presented in raw data format |
Object of class snp.data-class
Yurii Aulchenko
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.