Learn R Programming

snpMatrix (version 1.19.24)

X.snp.matrix-class: Class "X.snp.matrix"

Description

This class extends the snp.matrix-class to deal with SNPs on the X chromosome.

Arguments

Objects from the Class

Objects can be created by calls of the form new("X.snp.matrix", x, Female). Such objects have an additional slot to objects of class "snp.matrix" consisting of a logical array of the same length as the number of rows. This array indicates whether the sample corresponding to that row came from a female (TRUE) or a male (FALSE).

Extends

Class "snp.matrix", directly, with explicit coerce. Class "matrix", by class "snp.matrix". Class "structure", by class "snp.matrix". Class "array", by class "snp.matrix". Class "vector", by class "snp.matrix", with explicit coerce. Class "vector", by class "snp.matrix", with explicit coerce.

References

http://www-gene.cimr.cam.ac.uk/clayton

See Also

X.snp-class, snp.matrix-class, snp-class

Examples

Run this code
data(testdata)
summary(summary(Xchromosome))

Run the code above in your browser using DataLab