snp-class             package:snpMatrix             R Documentation

_C_l_a_s_s "_s_n_p"

_D_e_s_c_r_i_p_t_i_o_n:

     Compact representation of data concerning single nucleotide
     polymorphisms (SNPs)

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("snp", ...)' or
     by subset selection from an object of class '"snp.matrix"'. Holds
     one row or column of an object of class '"snp.matrix"'

_S_l_o_t_s:


     '._D_a_t_a': The genotype data coded as 0, 1, 2, or 3

_M_e_t_h_o_d_s:


     _c_o_e_r_c_e 'signature(from = "snp", to = "character")': map to codes
          "A/A", "A/B", "B/B", or ""

     _c_o_e_r_c_e 'signature(from = "snp", to = "numeric")': map to codes 0,
          1, 2, or NA

     _c_o_e_r_c_e 'signature(from = "snp", to = "genotype")': maps a single
          SNP to an object of class '"genotype"'. See the '"genetics"'
          package.

     _s_h_o_w 'signature(object = "snp")': shows character representation
          of the object

     _i_s._n_a 'signature(x = "snp")': returns a logical vector of missing
          call indicators

_A_u_t_h_o_r(_s):

     David Clayton david.clayton@cimr.cam.ac.uk

_R_e_f_e_r_e_n_c_e_s:

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

_S_e_e _A_l_s_o:

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

_E_x_a_m_p_l_e_s:

     ## data(testdata)
     ## s <- autosomes[,1]
     ## class(s)
     ## s

