getNameType               package:xps               R Documentation

_G_e_t _C_h_i_p _N_a_m_e _a_n_d _T_y_p_e

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

     Get chip name and type from ROOT scheme file.

_U_s_a_g_e:

     getNameType(rootfile)

_A_r_g_u_m_e_n_t_s:

rootfile: name of ROOT scheme file, including full path.

_D_e_t_a_i_l_s:

     Extracts the chip name and type directly from 'ROOT' scheme file
     'rootfile'.

_V_a_l_u_e:

     a 'list' with parameters: 

chipname: chip name.

chiptype: chip type, either GeneChip or ExonChip.

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

     Christian Stratowa

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

     'getChipName', 'getChipType'

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

     ## correct usage
     getNameType(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
     ## incorrect usage
     getNameType(paste(.path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

