aSnpMatrix | R Documentation |
SnpMatrix or XSnpMatrix objects, tied to sample and SNP support objects
This is a small class to allow subsetting and binding operations to be applied to SnpMatrix objects together with their SNP and sample support objects in single operations. It means the different objects are assured to always line up.
.Data
SnpMatrix
or XSnpMatrix
object
snps
data.frame
with rownames matching colnames of
.Data
samples
data.frame
with rownames matching rownames of
.Data
phenotype
character giving the column name in samples representing phenotype
alleles
character vector of length 2 giving the column names in snps representing phenotype
Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.