| SnpSet {Biobase} | R Documentation |
Class to Contain Objects Describing High-Throughput SNP Assays.
Description
Container for high-throughput assays and experimental
metadata. SnpSet class is derived from
eSet, and requires matrices call,
callProbability as assay data members.
Extends
Directly extends class eSet.
Creating Objects
new('SnpSet',
phenoData = [AnnotatedDataFrame],
experimentData = [MIAME],
annotation = [character],
protocolData = [AnnotatedDataFrame],
call = [matrix],
callProbability = [matrix],
...)
SnpSet instances are usually created through
new("SnpSet", ...). Usually the arguments to new
include call (a matrix of genotypic calls, with features (SNPs)
corresponding to rows and samples to columns), phenoData,
experimentData, annotation, and protocolData.
phenoData, experimentData, annotation and
protocolData can be missing, in which case they are assigned
default values.
Slots
Inherited from eSet:
assayData:Contains matrices with equal dimensions, and with column number equal to
nrow(phenoData).assayDatamust contain a matrixcallwith rows representing features (e.g., SNPs) and columns representing samples, and a matrixcallProbabilitydescribing the certainty of the call. The content ofcallandcallProbabilityare not enforced by the class. Additional matrices of identical size may also be included inassayData. Class:AssayData-classphenoData:See
eSetexperimentData:See
eSetannotation:See
eSetprotocolData:See
eSet
Methods
Class-specific methods:
snpCall(SnpSet),snpCall(SnpSet,matrix)<-Access and set elements named
callin theAssayDataslot.exprs(SnpSet),exprs(SnpSet,matrix)<-Synonym for
snpCall.snpCallProbability(SnpSet),snpCallProbability<-(SnpSet,matrix)<-Access and set elements named
callProbabilityin theAssayDataslot.
Derived from eSet:
updateObject(object, ..., verbose=FALSE)Update instance to current version, if necessary. See
updateObjectandeSetisCurrent(object)Determine whether version of object is current. See
isCurrentisVersioned(object)Determine whether object contains a 'version' string describing its structure . See
isVersionedsampleNames(SnpSet)andsampleNames(SnpSet)<-:See
eSetfeatureNames(SnpSet),featureNames(SnpSet, value)<-:See
eSetdims(SnpSet):See
eSetphenoData(SnpSet),phenoData(SnpSet,value)<-:See
eSetvarLabels(SnpSet),varLabels(SnpSet, value)<-:See
eSetvarMetadata(SnpSet),varMetadata(SnpSet,value)<-:See
eSetpData(SnpSet),pData(SnpSet,value)<-:See
eSetvarMetadata(SnpSet),varMetadata(SnpSet,value)See
eSetexperimentData(SnpSet),experimentData(SnpSet,value)<-:See
eSetpubMedIds(SnpSet),pubMedIds(SnpSet,value)See
eSetabstract(SnpSet):See
eSetannotation(SnpSet),annotation(SnpSet,value)<-See
eSetprotocolData(SnpSet),protocolData(SnpSet,value)<-See
eSetcombine(SnpSet,SnpSet):See
eSetstorageMode(eSet),storageMode(eSet,character)<-:See
eSet
Standard generic methods:
initialize(SnpSet):Object instantiation, used by
new; not to be called directly by the user.validObject(SnpSet):Validity-checking method, ensuring that
callandcallProbabilityis a member ofassayData.checkValidity(SnpSet)imposes this validity check, and the validity checks ofeSet.show(SnpSet)See
eSetdim(SnpSet),ncolSee
eSetSnpSet[(index):See
eSetSnpSet$,SnpSet$<-See
eSet
Author(s)
Martin Morgan, V.J. Carey, after initial design by R. Gentleman