| X.snp-class {chopsticks} | R Documentation |
Compact representation of data concerning single nucleotide polymorphisms (SNPs) on the X chromosome
Objects can be created by calls of the form new("snp", ...,
Female=...) or
by subset selection from an object of class "X.snp.matrix".
Holds one row or column of an object of class "X.snp.matrix"
.Data:The genotype data coded as 0, 1, 2, or 3. For males are coded as homozygious females
Female:A logical array giving the sex of the sample(s)
Class "snp", directly.
Class "raw", by class "snp".
Class "vector", by class "snp".
signature(from = "X.snp", to = "character"):
map to codes "A/A", "A/B", "B/B", "A/Y", "B/Y", or ""
signature(from = "X.snp", to = "numeric"):
map to codes 0, 1, 2, or NA
signature(from = "X.snp", to = "genotype"): Yet
to be implemented
signature(object = "X.snp"): shows character
representation of the object
David Clayton david.clayton@cimr.cam.ac.uk
http://www-gene.cimr.cam.ac.uk/clayton
X.snp.matrix-class,
snp.matrix-class, snp-class
data(testdata) s <- Xchromosome[,1] class(s) s