aSnpMatrix-class: Annotated SnpMatrix class

aSnpMatrixR Documentation

Annotated SnpMatrix class

Description

SnpMatrix or XSnpMatrix objects, tied to sample and SNP support objects

Details

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.

Slots

.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

Author(s)

Chris Wallace


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