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="/"))

